minor fix

This commit is contained in:
Wilson Gomez 2023-06-29 08:10:52 -05:00
parent e1db801e55
commit c3b6f857ed
1 changed files with 2 additions and 2 deletions

View File

@ -184,8 +184,8 @@ class Sale(metaclass=PoolMeta):
def _get_invoice_sale(self):
invoice = super(Sale, self)._get_invoice_sale()
invoice.invoice_date = sale.sale_date
invoice.accounting_date = sale.sale_date
invoice.invoice_date = self.sale_date
invoice.accounting_date = self.sale_date
return invoice
def _get_authorization(self, sale):