Commit 8fbceea4 authored by Javier Vega's avatar Javier Vega 🌮
Browse files

[FIX] invoice_xunnel: The supplier's payment terms are used instead of the CFDIs one

parent a0d28005
Pipeline #76624 passed with stages
in 27 minutes and 10 seconds
......@@ -573,7 +573,8 @@ class AttachXmlsWizard(models.TransientModel):
'invoice_payment_ref': '%s|%s' % (
'invoice_payment_term_id': (
supplier.property_supplier_payment_term_id or acc_pay_term).id,
'l10n_mx_edi_usage': xml.Receptor.get('UsoCFDI'),
'invoice_date': date_inv[0],
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment