mirror of
https://bitbucket.org/presik/trytonpsk-sale_pos.git
synced 2023-12-14 07:13:02 +01:00
minor fix
This commit is contained in:
parent
e1db801e55
commit
c3b6f857ed
1 changed files with 2 additions and 2 deletions
4
sale.py
4
sale.py
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue