fix: last purchase rate not updated from purchase invoice (#42847)
(cherry picked from commit 5b9309cf34)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
* fix: update rate for internal transfers only if settings enabled
* fix: better naming
* fix: create field for storing incoming rate in purchase doctypes
* fix: use qty instead of qty_in_stock_uom
* fix: add description, refactor for readablility
* test: test case to validate internal transfers at arm's length price
* fix: minor fix
* fix: deletion of code not required
---------
Co-authored-by: Smit Vora <smitvora203@gmail.com>
(cherry picked from commit 723ac0ffc4)
fix: serial and batch for internal transfer (#40467)
* fix: serial and batch for internal transfer
* chore: fix test cases
(cherry picked from commit 59222813af)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: not able to cancel purchase receipt for old subcontracting flow (#40298)
(cherry picked from commit 48da952fd7)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: landed cost voucher not submitting because of incorrect reference (#39898)
(cherry picked from commit 6239fd704b)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: not able to make inter-company po from so (backport #38826) (#38828)
fix: not able to make inter-company po from so (#38826)
(cherry picked from commit 23042dfc3c)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
(cherry picked from commit 32a608f948)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
fix: validation error has not throw for the batch (#38494)
* fix: validation error has not throw for the batch
* chore: fix test cases
(cherry picked from commit 5e9016ffab)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: set default asset quantity as 1 [dev] (#38223)
* fix: make default asset quantity as 1
* fix: get rate_of_depreciation from asset category for asset auto-creation
* chore: create asset depr schedules on PR submit, not asset submit
* fix: set default asset quantity as 1
* chore: move patch from v15 to v14
(cherry picked from commit 9903049c7a)
Co-authored-by: Anand Baburajan <anandbaburajan@gmail.com>
* fix: don't reset rate if greater than zero in standalone debit note
(cherry picked from commit 5cce522ecd)
* fix(test): `test_gl_entries_for_standalone_debit_note`
(cherry picked from commit f9fc6c9c9d)
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
- This contains little to no information and practically no one uses this.
- Also causes a lot of problem by adding way too many feeds in activity
log to the point where activity page doesn't even load.