refactor: book loss amount in the COGS instead of stock received but not billed (#23671)
This commit is contained in:
parent
f5a8dc0f9c
commit
3a17147a32
@ -296,7 +296,7 @@ class PurchaseReceipt(BuyingController):
|
||||
if self.is_return or flt(d.item_tax_amount):
|
||||
loss_account = expenses_included_in_valuation
|
||||
else:
|
||||
loss_account = stock_rbnb
|
||||
loss_account = self.get_company_default("default_expense_account")
|
||||
|
||||
gl_entries.append(self.get_gl_dict({
|
||||
"account": loss_account,
|
||||
|
Loading…
Reference in New Issue
Block a user