You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_cii_add_trade_delivery_block() in account_invoice_facturx builds the ApplicableHeaderTradeDelivery block but never writes the ActualDeliverySupplyChainEvent element (BT-72). The field delivery_date
on account.move is not read anywhere in the CII-XML generation.
This causes every PDF download of a non-downpayment invoice to fail with HTTP 500.
Error:
Exception: The Factur-X XML file is not valid against the official schematron. 1 errors found:
[BR-FX-EN-04]-An invoice that is not a down payment invoice (code 386) must contain
either BT-72 "Actual delivery date", BG-14 "Invoicing period" or BG-26 "Invoice line
period" in each invoice item to indicate the delivery/service date.
File:account_invoice_facturx/models/account_move.py, line 270
After trying the fix, i receive the following error:
AttributeError: 'account.move' object has no attribute 'regular_pdf_invoice_to_facturx_invoice'
Your error seems not to be caused by the proposed fix. regular_pdf_invoice_to_facturx_invoice is part
of the original account_invoice_facturx module itself (defined in models/account_move.py, lines 1056–1077) — the fix only touches _cii_add_trade_delivery_block, which is a completely separate method with no relation to the missing attribute.
If that attribute is missing on account.move, account_invoice_facturx may not be installed or loaded correctly.
Activity
pc-technik commentedon May 7, 2026
Odoo version: 18.0-20260429 (Community Edition)
After trying the fix, i receive the following error:
AttributeError: 'account.move' object has no attribute 'regular_pdf_invoice_to_facturx_invoice'
MartinHeisig commentedon May 7, 2026
Your error seems not to be caused by the proposed fix.
regular_pdf_invoice_to_facturx_invoiceis partof the original
account_invoice_facturxmodule itself (defined inmodels/account_move.py, lines 1056–1077) — the fix only touches_cii_add_trade_delivery_block, which is a completely separate method with no relation to the missing attribute.If that attribute is missing on
account.move,account_invoice_facturxmay not be installed or loaded correctly.