Account Invoice Factur-X
account_invoice_factur-x · OCA/edi
Health
50/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 77 months ago
-
Required by20/252 modules depend on it
-
Maturity5/25In 1 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis
2 migration notes
4 models
3 views
0 HTTP endpoints
Migration considerations
AccountInvoice— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (12 methods) migration-api-multi-one · sourceview_account_config_settings— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
report_invoice_facturx_logo |
report_invoice_facturx_logo | ir.ui.view | qweb | Inherits account.report_invoice_document |
view_account_config_settings |
account_invoice_factur-x.account.config.settings | account.config.settings | Inherits account_e-invoice_generate.view_account_config_settings | |
view_partner_form |
factur-x.country.required.on.res.partner | res.partner | form | Inherits base.view_partner_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (2)
-
facturx_levelSelectionrelated='company_id.facturx_level' -
facturx_refund_typeSelectionrelated='company_id.facturx_refund_type'
No public methods.
New fields (0)
No new fields.
Public methods (2)-
generate_facturx_xml(self)@api.multi -
regular_pdf_invoice_to_facturx_invoice(self, pdf_content)@api.multi
New fields (0)
No new fields.
Public methods (1)-
get_pdf(self, docids, report_name, html=None, data=None)@api.modelWe go through that method when the PDF is generated for the 1st time and also when it is read from the attachment. This method is specific to QWeb
New fields (4)
-
facturx_levelSelectiondefault='en16931'help="Unless if you have a good reason, you should always select 'EN 16931 (Comfort)', which is the default value."string='Factur-X Level' args: [('minimum', 'Minimum'), ('basicwl', 'Basic without lines'), ('basic', 'Basic'), ('en16931', 'EN 16931 (Comfort)'), ('extended', 'Extended')] -
facturx_logoBinarycompute='_compute_facturx_logo'help='Logo to include in the visible part of Factur-X invoices'readonly=Truestring='Factur-X Logo' -
facturx_refund_typeSelectiondefault='381'string='Factur-X Refund Type' args: [('380', 'Type 380 with negative amounts'), ('381', 'Type 381 with positive amounts')] -
xml_format_in_pdf_invoiceSelectiondefault='factur-x'selection_add=[('factur-x', 'Factur-X (CII)')]
-
compute_facturx_logo(self)