Skip to content

Commit

Permalink
FIX wrong date_invoice field
Browse files Browse the repository at this point in the history
  • Loading branch information
ecino committed Mar 4, 2024
1 parent be7a0a1 commit a65f619
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def split_invoice(self):
def _copy_invoice(self, old_invoice):
# Create new invoice
new_invoice = old_invoice.copy(
default={"invoice_date": old_invoice.date_invoice}
default={"invoice_date": old_invoice.invoice_date}
)
new_invoice.invoice_line_ids.unlink()
return new_invoice

0 comments on commit a65f619

Please sign in to comment.