Skip to content
Health
50/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 77 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 10.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

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 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)