Commit 08a366a3 authored by José Atonaltzin Maldonado Ortiz's avatar José Atonaltzin Maldonado Ortiz Committed by agb80

feature(models): Adendas

this field allows you to add different addendas and nodes in the CFDI
parent fc673a97
Pipeline #3074 failed with stage
in 28 seconds
......@@ -11,3 +11,7 @@ class ResPartner(models.Model):
help='Cfdi usage that will be used by default on this customer '
'invoices and credit notes',
)
cfdi_adenda = fields.Many2one(
'cfdi.adenda', 'CFDI Adendas',
help='This field allows adding a node or addendum to the invoice',
)
......@@ -9,6 +9,7 @@
<field name="arch" type="xml">
<field name="property_account_receivable" position="after">
<field name="cfdi_use" widget="selection" />
<field name="cfdi_adenda" options="{'no_create': True}"/>
</field>
</field>
</record>
......
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