* fix: don't set rate for non-stock item in Internal Transfer
(cherry picked from commit e1b0fffd0c934d376562e3ba8707b38426ea09a1)
* test: internal transfer for non-stock item
(cherry picked from commit 57b6a987034522266caca853d4ee26316526e526)
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
* feat: provision to close SCO
(cherry picked from commit 5e2669f4b6e8ed917cc8e882b49a4a617a854464)
* fix: don't allow to submit/cancel SCR against a closed SCO
(cherry picked from commit 9e973476b2a925d4557b3a6b17517e46d652ac20)
* fix: don't allow to submit/cancel SE against a closed SCO
(cherry picked from commit 5bc2035bd082001e2552138a5df55554f2e6f8de)
* fix(ux): filter closed SCO in `Get Items From` dialog
(cherry picked from commit bb839b2924c2dd4c2a06b087d7624ca7aac08f04)
* fix: don't close PO on SCO close
(cherry picked from commit 0d01bd8a5a49f5bba80ef797d5823f762e0fc86a)
* fix: update qty on SCO status change
(cherry picked from commit 245effcccd3866bac2974023d37cd48b89849aeb)
* fix: don't allow to reopen SCO if PO is closed
(cherry picked from commit 784b6dcfea2aa9eb3fe557bb4f87cdc1f7341560)
* fix: auto close and reopen SCO based on PO status
(cherry picked from commit 0819675fce1cffe3a930fe2cbd015998e4e7c00d)
* fix(text): test_update_status
(cherry picked from commit cdd5441435ee448d3efb2155a93865ec29bbf8ab)
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
fix: on cancellation of document cancel the serial and batch bundle (#39076)
(cherry picked from commit 6e5484ea031027de4e6a897b02bd0f2e7b8adda9)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: non stock uom validation for serial and batch (#39018)
* fix: non stock uom validation for serial and batch
* test: delivery note for batch with non stock uom
(cherry picked from commit 0c6de4ecb299daf5359fcd51041942a26f94693d)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: work order with multi level, fetch operting cost from sub-assembly (#38992)
(cherry picked from commit 70abedc57ad2147719c23537ab9aaf348d6e9182)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: serial and batch bundle company mandatory error (#38994)
(cherry picked from commit 10074e9980c8f2a1473827c61c888d970da4b73a)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: remove bad defaults (#38986)
Child tables can't have a default.
(cherry picked from commit b71b0d599775cd445acb555f7df6f849056a7a9b)
Co-authored-by: Ankush Menat <ankush@frappe.io>
fix: incorrect qty in serial batch bundle against pick list (#38964)
(cherry picked from commit 47ee801d373058a2739c2fd42d971d624c42d5a7)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
* fix: not able to import serial batch bundle using csv (#38950)
(cherry picked from commit d00f6672a8d9db1e28f9a86ff8efbedcdc95c41a)
# Conflicts:
# erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py
* chore: fixed conflicts
---------
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: do not make serial batch bundle for zero qty (#38949)
(cherry picked from commit 06d6220a2aa2f7855db2c2f985d046280e26f13a)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
* fix(ux): make PI Item rate field editable
(cherry picked from commit eb5bb9f9a99e54be71c7ae5e24235b5b44692444)
* fix(ux): make PI Item rate field readonly based on `Maintain Same Rate`
(cherry picked from commit cb9114442b936f03c9c975900282b3b9db62e453)
* fix(ux): make PR Item rate field readonly based on `Maintain Same Rate`
(cherry picked from commit b1ba2103323c8bfe066c288b4c285cf1f3c5b20b)
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
fix: do not reset the basic rate for the material receipt stock entry (#38896)
(cherry picked from commit 98bfcc4c758b61f714c53ea0f00246731a30fdaf)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
perf: use estimated rows instead of actual rows (#38830)
(cherry picked from commit 9983283f95753e7523cf30cc258df0572f88081d)
Co-authored-by: Ankush Menat <ankush@frappe.io>
fix: if not budget then don't validate (#38861)
(cherry picked from commit d375164100158db9b974742caa3e05062c481d7d)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: not able to cancel SCR with Batch (backport #38817) (#38821)
* fix: not able to cancel SCR with Batch (#38817)
(cherry picked from commit fb5090fd3f23ada507fe8abc5a899f4b06e48d7e)
# Conflicts:
# erpnext/subcontracting/doctype/subcontracting_receipt/test_subcontracting_receipt.py
* chore: fix test case
* chore: fix test case
* chore: fix test case
* chore: fix test case
---------
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
(cherry picked from commit 71e833c3f2323873953c3ad7ab4a9403ebbdeb0a)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
perf: index `return_against` on delivery note (#38827)
There's a multi-column index but that's useful IFF all parts of column
are part of query.
return against on it's own is VERY unique because it's a primary key, we
don't need a multi-column index here.
(cherry picked from commit 8d79365e0ddef42e788f97c668a64c479a803617)
Co-authored-by: Ankush Menat <ankush@frappe.io>
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 0743289925d0866a16373c05cfb81825b58e35ba)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: incorrect available qty for backdated stock reco with batch (#37858)
* fix: incorrect available qty for backdated stock reco with batch
* test: added test case
(cherry picked from commit d4c0dbfacc7e99da6cba2c5d389f0a662490b0eb)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>