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):
|
if self.is_return or flt(d.item_tax_amount):
|
||||||
loss_account = expenses_included_in_valuation
|
loss_account = expenses_included_in_valuation
|
||||||
else:
|
else:
|
||||||
loss_account = stock_rbnb
|
loss_account = self.get_company_default("default_expense_account")
|
||||||
|
|
||||||
gl_entries.append(self.get_gl_dict({
|
gl_entries.append(self.get_gl_dict({
|
||||||
"account": loss_account,
|
"account": loss_account,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user