minor fix

This commit is contained in:
Wilson Gomez 2023-09-20 12:23:56 -05:00
parent 1a52f02101
commit ce6a33c193
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ class Sale(metaclass=PoolMeta):
gettext('sale_shop.msg_dont_account_other_income',
product=line.product.rec_name))
line.account = line.product.account_category.account_other_income
invoice.save()
Invoice.update_taxes([invoice])
self.copy_resources_to(invoice)