Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
l10n_mx
l10n_mx_facturae
Commits
08a366a3
Commit
08a366a3
authored
7 years ago
by
José Atonaltzin Maldonado Ortiz
Committed by
agb80
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
l10n_mx_facturae/models/res_partner.py
l10n_mx_facturae/models/res_partner.py
+4
-0
l10n_mx_facturae/views/res_partner.xml
l10n_mx_facturae/views/res_partner.xml
+1
-0
No files found.
l10n_mx_facturae/models/res_partner.py
View file @
08a366a3
...
...
@@ -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'
,
)
This diff is collapsed.
Click to expand it.
l10n_mx_facturae/views/res_partner.xml
View file @
08a366a3
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment