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>
* feat: provision to update items in Stock Reservation dialog
(cherry picked from commit 9471d8fff94f84a627957c5ff2c7f8f1ed53a098)
* fix(ux): show row index and field label while selecting the Sales Order Item
(cherry picked from commit 00261094c8ce0663f953b73ae17a5e7f3f494b59)
* feat: provision to add items in Stock Reservation dialog
(cherry picked from commit 8d5045ef4caf695dbfdc087b78c8f68a79976813)
---------
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 b9f5a1c85dc29acc22e704d866178a98f3035c1d)
Co-authored-by: Marica <maricadsouza221197@gmail.com>
* fix(ux): no need to select rows to reserve the stock
(cherry picked from commit 9c889b37fb3e6572043c7a28706e43d051e2ff46)
* fix: use field `sales_order_item` instead `name`
(cherry picked from commit 73586fd9b2f9392d18f65a063b14ef2de2629615)
* fix(ux): no need to select rows to unreserve the stock
(cherry picked from commit 2a41da94d443dee51e615b395d18ad161d4e87fc)
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
chore: refetch item images on transaction save (#38095)
chore: re fetch item images on transaction save
(cherry picked from commit e93a19ffb5d45a3bf0136ca3fc24a828b008aeee)
Co-authored-by: Anand Baburajan <anandbaburajan@gmail.com>
fix(customer): quick form and integration fixes (#37386)
(cherry picked from commit ae508144cdce348af11c406f6fd30e73f4dc3879)
Co-authored-by: David Arnold <dgx.arnold@gmail.com>
fix: sales order not assigned to territory orders (#37905)
filtered sales order are not assigned to 'territory_orders' which results in 0 order amount and 0 billing amount in the output
(cherry picked from commit 45b4bfc94783bb0180c0a57a2f3a5bb7086008a3)
Co-authored-by: jabir-elat <44110258+jabir-elat@users.noreply.github.com>
fix(packed_item): ensure proper names for ref integrity (#37597)
(cherry picked from commit fb0ec74d086085160fbcca9ccfffb6966673e0cb)
Co-authored-by: David Arnold <dgx.arnold@gmail.com>
* refactor: rename field `Over Order Allowance` to `Blanket Order Allowance`
(cherry picked from commit 8ffa2bfe25d8fae317d77705aec82a92dc269874)
* chore: patch to rename field `over_order_allowance`
(cherry picked from commit fcfcf6957e07ad5afc281e5f43154ca1170e14c4)
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
* chore: make `Reserve Stock` checkbox visible in SO
(cherry picked from commit 36a996d70499a8bc4cf9c28853c2b5606d73f81d)
* refactor: rename field `Auto Reserve Stock for Sales Order`
(cherry picked from commit 2b4fa98941817966b8a936e4076be84406ad035a)
* feat: add fields to hold SO and SO Item ref in PR Item
(cherry picked from commit 188175be84b5eaa0be73face69f4f2b58b80dd64)
* feat: reserve stock for SO on PR submission
(cherry picked from commit 64497c922892d19ca378b5da75cf6b528f5e52d9)
# Conflicts:
# erpnext/stock/doctype/purchase_receipt/purchase_receipt.py
* feat: add field `From Voucher Type` in SRE
(cherry picked from commit 5ae9c2f62b741d64da4ce74b3b251339711e8256)
* refactor: rename field `against_pick_list_item`
(cherry picked from commit 78fe56741931ad2c253bf9acca2896c2411f4ac6)
* refactor: rename field `against_pick_list`
(cherry picked from commit 961d2d9926a1a9c0396c3292d431d3bad6865e62)
* fix: incorrect serial and batch get reserved
(cherry picked from commit 45395027d3b5c51ac3ccdbebb1f0d23d5ffd2ec1)
* fix: partial reservation against SBB
(cherry picked from commit 4f363f5bf3da286999966f10d0cca22264f42199)
* fix: ignore qty msg if From Voucher is set
(cherry picked from commit a432290a828478265a8a463d05aea818c2b75914)
* test: add test case for auto-reservation from PR
(cherry picked from commit adf313a6d3308f957b4876574e455ca750b22106)
* chore: add SRE link in PR Connections
(cherry picked from commit 24788ddcc085fb825d2b14145a82ced02842f512)
* chore: patch to update `From Voucher` details
(cherry picked from commit 6942ab10125cfaf07c526df53a7c88bffcc5b9da)
* chore: `conflicts`
* fix(patch): `update_sre_from_voucher_details`
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
* fix: customer group and territory not mandatory
* fix: supplier group not required
* test: added test case for customer and supplier without group
* test: Customer without customer group and territory
* chore: remove unwanted changes
* test: Supplier without supplier group
* test: code cleanup
---------
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>