mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
Merge pull request #6170 from rohitwaghchaure/patch_fix
[Fix] 'SalesInvoice' object has no attribute 'account_for_change_amount'
This commit is contained in:
@@ -10,6 +10,8 @@ def execute():
|
|||||||
if not cint(frappe.defaults.get_global_default("auto_accounting_for_stock")):
|
if not cint(frappe.defaults.get_global_default("auto_accounting_for_stock")):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
frappe.reload_doc('accounts', 'doctype', 'sales_invoice')
|
||||||
|
|
||||||
frappe.reload_doctype("Purchase Invoice")
|
frappe.reload_doctype("Purchase Invoice")
|
||||||
wh_account = get_warehouse_account()
|
wh_account = get_warehouse_account()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user