Skip to content

Commit

Permalink
misc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkhao committed Apr 30, 2024
1 parent ef7ac8c commit 2cdf88b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions export_invoice_edi_auchan/schema/invoice_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_values(self):
16,
self.invoice.invoice_date,
), # Date/heure facture ou avoir (document) JJ/MM/AAAA HH:MN
(10, self.invoice.date_due), # Date d'échéance JJ/MM/AAAA
(10, self.invoice.invoice_date_due), # Date d'échéance JJ/MM/AAAA
(
7,
self.invoice.move_type == "out_invoice"
Expand All @@ -59,7 +59,7 @@ def get_values(self):
(3, ""), # Nb de jour de pénalité opt
(
1,
self.invoice.context.get("test_mode") and "0" or "1",
self.invoice.env.context.get("test_mode") and "1" or "0",
), # Document de test (1/0)
(
3,
Expand Down
2 changes: 1 addition & 1 deletion export_invoice_edi_auchan/schema/invoice_taxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ def get_values(self):
(3, "TVA"), # Étiquette de segment "TVA"
(5, self.tax_line.tax_line_id.amount or 0.0),
(10, self.tax_line.tax_base_amount or 0.0),
(10, self.tax_line.price_subtotal or 0.0),
(10, self.tax_line.credit or 0.0),
]

0 comments on commit 2cdf88b

Please sign in to comment.