* feat: add field `Action on Purchase Order Submission`
(cherry picked from commit 628ea42b63217fcf64c9803fdfdad09c610b00c3)
# Conflicts:
# erpnext/buying/doctype/buying_settings/buying_settings.json
* feat: auto create SCO on PO submission
(cherry picked from commit 9ec6f1e1d63ccb8087cb3f95c6a100b02d22ba79)
# Conflicts:
# erpnext/buying/doctype/buying_settings/buying_settings.json
* feat: add field `Action on Subcontracting Receipt Submission`
(cherry picked from commit 762906f24023af3f0fdba70c5dbf61951f45dd68)
# Conflicts:
# erpnext/buying/doctype/buying_settings/buying_settings.json
* chore: notify user on SCO creation
(cherry picked from commit 745e3bfb733bdbce034b9b1fb3cd83a502a423a7)
* feat: add field `Purchase Order Item` in SCO Service Item
(cherry picked from commit 45d5cff47d7fc53fcf710afac281907ba9ab9e00)
* fix: hold PO item ref in SCO Service Item
(cherry picked from commit 7e4dd33ab0da2800fdb4aeb89ef9d183bff19d4d)
* feat: add field `Purchase Order Item` in SCO Item
(cherry picked from commit a2ede7d6d5241665d996447a1c9e2d1447190066)
* fix: maintain PO and PO Item ref in SCR Item
(cherry picked from commit e1cea2578151ee0f43e1809a7f99d2e90bf774a6)
* feat: auto create PR on SCR submission
(cherry picked from commit 040cc8d22f700a1823425d1534b91d50289d2489)
* feat: add `Purchase Order` link in SCR connections
(cherry picked from commit ca8a5b45ba58b62cd661dae508af9b0e26ff7973)
* feat: add `Subcontracting Receipt` link in PO connections
(cherry picked from commit 98cba5ed30ed2c8f5191d7cfaac54b16997cf09e)
* fix: dont show `View` button on cancelled SCR
(cherry picked from commit dd80d3b9b94c970d5070e1a5fac03cf9f1fbc455)
* fix: use checkbox instead of select field
(cherry picked from commit d366a91d9eae52175cd7f10f8a77b96dc09bfd00)
# Conflicts:
# erpnext/buying/doctype/buying_settings/buying_settings.json
* feat: Subcontracting Receipt ref in Purchase Receipt
(cherry picked from commit d891bd7fac1ab9e46a94959dedcc45e18ac69de5)
* feat: SCR Item ref in PR Item
(cherry picked from commit 37b3ac795284c0ee9593753ececcfe4871e538a4)
* feat: provision to create PR from SCR
(cherry picked from commit 8052103197112d2e1abe7ac35a831267ad9549b7)
* chore: PR ref in SCR connections
(cherry picked from commit 096a2c8cd0afafb28e916a5c9e92ef1eb041e0a3)
* fix: map warehouses in return SCR
(cherry picked from commit 874766a82f1b31a55b8d5c9c998896748ad49cdf)
* fix(ux): hide `Create Purchase Receipt` button for Subcontract Return
(cherry picked from commit 7145b040f12a62be9f0ac945c69ac221debd7c03)
* chore: `linter`
(cherry picked from commit 857f2b5a014b4d14d21bca793ea569f8bdc1c398)
* test: auto create SCO on PO submit
(cherry picked from commit 68585f6f2b05e0b8dc3429741950ef31bbc42e17)
* test: auto create PR on SCR submit
(cherry picked from commit 7b0cd03f88a7052460438ee70390799fae5c336c)
* fix(test): `test_auto_create_purchase_receipt`
(cherry picked from commit 3da0aa6a0b21c775e5356ae7d359f7378f190d92)
* 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 b9f5a1c85dc29acc22e704d866178a98f3035c1d)
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 9903049c7ac7310ca9e3f69c30dc355c2e13bfd5)
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 3e77c0b5644c28ed9b4eef22b228fdc4a1283020)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
* fix: don't reset rate if greater than zero in standalone debit note
(cherry picked from commit 5cce522ecdb7f13a001d4abbf6c3682088edb1b6)
* fix(test): `test_gl_entries_for_standalone_debit_note`
(cherry picked from commit f9fc6c9c9d5faef90f345df6e04ea4d2b8b8b69b)
---------
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 1b808e1d7c2c2d1ad51bd18acf6a45e9b5cfc605)
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 5136fe196b4e3aab6bb18d2edf5effbfacd2b060)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: incorrect status of the returned purchase receipt (#37300)
(cherry picked from commit 63f45739e05d728e8844320ff0c7dbafa8660acf)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
fix: Set cost center as default company cost center
When Discount Accounting in enabled in Selling Settings, use Company default Cost Center while making GL entries for additional_discount_account
fix: serial number decimal issue (#37242)
(cherry picked from commit 78ab2013e59bb6a95d10164328ad3f7c815497b5)
Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
* fix: payment recon not showing payment entry when party_type is Student
* chore: code cleanup
* fix: payment recon based on account_type which is fetched from Party Type master