Repository
OCA/edi · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting & Finance
Folder size
0.1 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.akretion.com
Last tracking update
2026-08-07 07:17:47
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Alexis de Lattre, Pedro M. Baeza, GitHub, Andrea, David Beal, Weblate, OCA Transbot, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
facturx
System dependencies
None
Required by
account_invoice_factur-x_py3o, l10n_fr_account_invoice_factur-x
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
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_level Selection
    related='company_id.facturx_level'
  • facturx_refund_type Selection
    related='company_id.facturx_refund_type'
Public methods (0)

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.model
    We 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_level Selection
    default='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_logo Binary
    compute='_compute_facturx_logo' help='Logo to include in the visible part of Factur-X invoices' readonly=True string='Factur-X Logo'
  • facturx_refund_type Selection
    default='381' string='Factur-X Refund Type' args: [('380', 'Type 380 with negative amounts'), ('381', 'Type 381 with positive amounts')]
  • xml_format_in_pdf_invoice Selection
    default='factur-x' selection_add=[('factur-x', 'Factur-X (CII)')]
Public methods (1)
  • compute_facturx_logo(self)