mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
Merge pull request #48888 from frappe/mergify/bp/version-15-hotfix/pr-48887
fix: failing subcontracting patch (backport #48887)
This commit is contained in:
@@ -415,5 +415,5 @@ erpnext.patches.v15_0.set_company_on_pos_inv_merge_log
|
|||||||
erpnext.patches.v15_0.rename_price_list_to_buying_price_list
|
erpnext.patches.v15_0.rename_price_list_to_buying_price_list
|
||||||
erpnext.patches.v15_0.patch_missing_buying_price_list_in_material_request
|
erpnext.patches.v15_0.patch_missing_buying_price_list_in_material_request
|
||||||
erpnext.patches.v15_0.remove_sales_partner_from_consolidated_sales_invoice
|
erpnext.patches.v15_0.remove_sales_partner_from_consolidated_sales_invoice
|
||||||
erpnext.patches.v15_0.repost_gl_entries_with_no_account_subcontracting
|
erpnext.patches.v15_0.repost_gl_entries_with_no_account_subcontracting #2025-07-31
|
||||||
execute:frappe.db.set_single_value("Accounts Settings", "fetch_valuation_rate_for_internal_transaction", 1)
|
execute:frappe.db.set_single_value("Accounts Settings", "fetch_valuation_rate_for_internal_transaction", 1)
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ def execute():
|
|||||||
if not item.cost_center:
|
if not item.cost_center:
|
||||||
item.db_set("cost_center", cost_center)
|
item.db_set("cost_center", cost_center)
|
||||||
|
|
||||||
doc.docstatus = 2
|
doc.docstatus = 2
|
||||||
doc.make_gl_entries_on_cancel()
|
doc.make_gl_entries_on_cancel()
|
||||||
doc.docstatus = 1
|
doc.docstatus = 1
|
||||||
doc.make_gl_entries()
|
doc.make_gl_entries()
|
||||||
|
|||||||
Reference in New Issue
Block a user