fix: Incorrect provisional expense booking while reposting
(cherry picked from commit 60aad31162)
This commit is contained in:
@@ -468,6 +468,7 @@ class PurchaseReceipt(BuyingController):
|
|||||||
and not d.is_fixed_asset
|
and not d.is_fixed_asset
|
||||||
and flt(d.qty)
|
and flt(d.qty)
|
||||||
and provisional_accounting_for_non_stock_items
|
and provisional_accounting_for_non_stock_items
|
||||||
|
and d.get("provisional_expense_account")
|
||||||
):
|
):
|
||||||
self.add_provisional_gl_entry(
|
self.add_provisional_gl_entry(
|
||||||
d, gl_entries, self.posting_date, d.get("provisional_expense_account")
|
d, gl_entries, self.posting_date, d.get("provisional_expense_account")
|
||||||
|
|||||||
Reference in New Issue
Block a user