* fix: don't set rate for non-stock item in Internal Transfer
(cherry picked from commit e1b0fffd0c)
* test: internal transfer for non-stock item
(cherry picked from commit 57b6a98703)
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
fix: purchase return without item code not working (#39014)
(cherry picked from commit f983e09f92)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
* feat: provision to update items in Stock Reservation dialog
(cherry picked from commit 9471d8fff9)
* fix(ux): show row index and field label while selecting the Sales Order Item
(cherry picked from commit 00261094c8)
* feat: provision to add items in Stock Reservation dialog
(cherry picked from commit 8d5045ef4c)
---------
Co-authored-by: s-aga-r <sagarsharma.s312@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: serial and batch bundle return not working (#38754)
* fix: serial and batch bundle return not working
* test: added test case for delivery note return against denormalized serial no
(cherry picked from commit 0743289925)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.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>
* feat: add field `Action on Purchase Order Submission`
(cherry picked from commit 628ea42b63)
# Conflicts:
# erpnext/buying/doctype/buying_settings/buying_settings.json
* feat: auto create SCO on PO submission
(cherry picked from commit 9ec6f1e1d6)
# Conflicts:
# erpnext/buying/doctype/buying_settings/buying_settings.json
* feat: add field `Action on Subcontracting Receipt Submission`
(cherry picked from commit 762906f240)
# Conflicts:
# erpnext/buying/doctype/buying_settings/buying_settings.json
* chore: notify user on SCO creation
(cherry picked from commit 745e3bfb73)
* feat: add field `Purchase Order Item` in SCO Service Item
(cherry picked from commit 45d5cff47d)
* fix: hold PO item ref in SCO Service Item
(cherry picked from commit 7e4dd33ab0)
* feat: add field `Purchase Order Item` in SCO Item
(cherry picked from commit a2ede7d6d5)
* fix: maintain PO and PO Item ref in SCR Item
(cherry picked from commit e1cea25781)
* feat: auto create PR on SCR submission
(cherry picked from commit 040cc8d22f)
* feat: add `Purchase Order` link in SCR connections
(cherry picked from commit ca8a5b45ba)
* feat: add `Subcontracting Receipt` link in PO connections
(cherry picked from commit 98cba5ed30)
* fix: dont show `View` button on cancelled SCR
(cherry picked from commit dd80d3b9b9)
* fix: use checkbox instead of select field
(cherry picked from commit d366a91d9e)
# Conflicts:
# erpnext/buying/doctype/buying_settings/buying_settings.json
* feat: Subcontracting Receipt ref in Purchase Receipt
(cherry picked from commit d891bd7fac)
* feat: SCR Item ref in PR Item
(cherry picked from commit 37b3ac7952)
* feat: provision to create PR from SCR
(cherry picked from commit 8052103197)
* chore: PR ref in SCR connections
(cherry picked from commit 096a2c8cd0)
* fix: map warehouses in return SCR
(cherry picked from commit 874766a82f)
* fix(ux): hide `Create Purchase Receipt` button for Subcontract Return
(cherry picked from commit 7145b040f1)
* chore: `linter`
(cherry picked from commit 857f2b5a01)
* test: auto create SCO on PO submit
(cherry picked from commit 68585f6f2b)
* test: auto create PR on SCR submit
(cherry picked from commit 7b0cd03f88)
* fix(test): `test_auto_create_purchase_receipt`
(cherry picked from commit 3da0aa6a0b)
* chore: `conflicts`
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
fix: Negative Qty and Rates in SO/PO (#38252)
* fix: Don't allow negative qty in SO/PO
* fix: Type casting for safe comparisons
* fix: Grammar in error message
* fix: Negative rates should be allowed via Update Items in SO/PO
* fix: Use `non_negative` property in docfield & emove code validation
(cherry picked from commit b9f5a1c85d)
Co-authored-by: Marica <maricadsouza221197@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: valuation rate for the subcontracting receipt supplied items with Serial and Batch Bundle (#38094)
fix: valuation rate for the subcontracting receipt supplied items with batch
(cherry picked from commit 3e77c0b564)
Co-authored-by: rohitwaghchaure <rohitw1991@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>
fix: standard submit perm in repost ledger for editable invoices (#37826)
* fix: ignore perm while reposting ledger
* fix: use flag in save
* fix: remove unnecessary save
(cherry picked from commit 1b808e1d7c)
Co-authored-by: Gursheen Kaur Anand <40693548+GursheenK@users.noreply.github.com>
fix: remove from or target warehouse for non internal transfer entries (#37612)
(cherry picked from commit 5136fe196b)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>