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>
chore: add translate function to email subject in digest frecuency (#38474)
chore: add translate function to email subject in digest frecuency
(cherry picked from commit b24e28953b)
Co-authored-by: Ernesto Ruiz <eruiz@wbapps.com>
make_advance_gl_entries -> add_advance_gl_entries -> add_advance_gl_for_reference
'make_advance_gl_entries' - main method thats builds and post GL
entries for all or one specific reference based on parameters
'add_advance_gl_entries' - build GL map for all or one specific
reference. Return an array of dict.
'add_advance_gl_for_reference' - utility function to build gl
entries. returns dict.
(cherry picked from commit 5fc19dab54)
fix: show item name as title instead of item group in BOM (#38478)
Item fields in BOM used to show Item Group when Items were set to show title as link fields. Now they show Item Name instead
(cherry picked from commit 3a66aefd2c)
Co-authored-by: Gughan Ravikumar <gughanrk@gmail.com>
* fix(ux): make `basic_rate` field read-only based on purpose
(cherry picked from commit abc7d30024)
* fix(ux): make PR `rate` field read-only having PO ref
(cherry picked from commit ae294ee470)
* fix(ux): make PI `rate` field read-only having PR ref
(cherry picked from commit 3d4156cc7d)
---------
Co-authored-by: s-aga-r <sagarsharma.s312@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>
feat: shift depreciation for assets (#38327)
* feat: shift depreciation for assets
* chore: create new asset depr schedule on shift change
* refactor: move create_depr_schedule to after_insert
* fix: args in get_depreciation_amount test
* refactor: rename shift adjustment to shift allocation
* chore: asset shift factor doctype and auto allocate shift diff
* chore: use check instead of depr type, and add tests
* chore: make linter happy
* chore: give permissions to accounts users
(cherry picked from commit fe5fc5bd3a)
Co-authored-by: Anand Baburajan <anandbaburajan@gmail.com>
* refactor: use arrow function
(cherry picked from commit 1763824e5f)
* refactor: use DocType `Fetch From` instead of `frm.add_fetch`
(cherry picked from commit 01044ca8e9)
* refactor: use `frm.set_query` to add filters
(cherry picked from commit 640dfab827)
* refactor: don't use `cur_frm`
(cherry picked from commit 9fadf5f426)
---------
Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>