Account Invoice UBL

account_invoice_ubl
REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/16.0/account_invoice_ubl
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Onestein, BCIM
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Onestein, BCIM
COMMITTERS
COMMITTERSJacques-Etienne Baudoux, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/edi
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_partner
    - account_payment_mode
OCA/community-data-files:
    - account_payment_unece
    - base_unece
    - uom_unece
    - account_tax_unece
OCA/edi:
    - account_einvoice_generate
    - base_ubl_payment
    - base_ubl
    - pdf_helper
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_config_settings res.config.settings xpath Inherits account_einvoice_generate.view_account_config_settings
view_move_form account.move button Inherits account.view_move_form
Models touched (4)

New fields (0)

No new fields.

Public methods (7)
  • attach_ubl_xml_file_button(self)
  • generate_invoice_ubl_xml_etree(self, version='2.1')
  • generate_ubl_xml_string(self, version='2.1')
  • get_ubl_filename(self, version='2.1')
    This method is designed to be inherited
  • get_ubl_lang(self)
  • get_ubl_version(self)
  • is_ubl_sale_invoice_posted(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • embed_pdf_in_ubl_xml_invoice Boolean
    help="If active, the standalone UBL Invoice XML file will include the PDF of the invoice in base64 under the node 'AdditionalDocumentReference'. For example, to be compliant with the e-fff standard used in Belgium, you should activate this option." string='Embed PDF in UBL XML Invoice'
  • xml_format_in_pdf_invoice Selection
    default='ubl' selection_add=[('ubl', 'Universal Business Language (UBL)')]
Public methods (0)

No public methods.

New fields (1)
  • embed_pdf_in_ubl_xml_invoice Boolean
    readonly=False related='company_id.embed_pdf_in_ubl_xml_invoice'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/14.0/account_invoice_ubl
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Onestein
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Onestein
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, Simone Orsi, bosd, Hai Lang, oca-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/edi
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_partner
    - account_payment_mode
OCA/community-data-files:
    - account_payment_unece
    - base_unece
    - uom_unece
    - account_tax_unece
OCA/edi:
    - account_einvoice_generate
    - base_ubl_payment
    - base_ubl
    - pdf_helper
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pypdf>=3.1.0,<5.0
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_config_settings res.config.settings xpath Inherits account_einvoice_generate.view_account_config_settings
view_move_form account.move button Inherits account.view_move_form
Models touched (4)

New fields (0)

No new fields.

Public methods (9)
  • add_xml_in_pdf_buffer(self, buffer)
  • attach_ubl_xml_file_button(self)
  • embed_ubl_xml_in_pdf(self, pdf_content)
  • generate_invoice_ubl_xml_etree(self, version='2.1')
  • generate_ubl_xml_string(self, version='2.1')
  • get_ubl_filename(self, version='2.1')
    This method is designed to be inherited
  • get_ubl_lang(self)
  • get_ubl_version(self)
  • is_ubl_sale_invoice_posted(self)

New fields (0)

No new fields.

Public methods (2)
  • is_ubl_xml_to_embed_in_invoice(self)
  • postprocess_pdf_report(self, record, buffer)

New fields (2)
  • embed_pdf_in_ubl_xml_invoice Boolean
    help="If active, the standalone UBL Invoice XML file will include the PDF of the invoice in base64 under the node 'AdditionalDocumentReference'. For example, to be compliant with the e-fff standard used in Belgium, you should activate this option." string='Embed PDF in UBL XML Invoice'
  • xml_format_in_pdf_invoice Selection
    default='ubl' selection_add=[('ubl', 'Universal Business Language (UBL)')]
Public methods (0)

No public methods.

New fields (1)
  • embed_pdf_in_ubl_xml_invoice Boolean
    readonly=False related='company_id.embed_pdf_in_ubl_xml_invoice'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/13.0/account_invoice_ubl
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Onestein
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Onestein
COMMITTERS
COMMITTERSAlexis de Lattre, Enric Tobella, Lois Rilo, OCA Transbot, Thierry Ducrest, vrenaville, oca-travis, Weblate, OCA-git-bot, Tom Blauwendraat, Simone Orsi, FerranCforgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/edi
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_partner
    - account_payment_mode
OCA/community-data-files:
    - account_payment_unece
    - base_unece
    - uom_unece
    - account_tax_unece
OCA/edi:
    - account_e-invoice_generate
    - base_ubl_payment
    - base_ubl
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES lxml
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_config_settings res.config.settings xpath Inherits account_e-invoice_generate.view_account_config_settings
view_move_form account.move button Inherits account.view_move_form
Models touched (4)

New fields (0)

No new fields.

Public methods (9)
  • add_xml_in_pdf_buffer(self, buffer)
  • attach_ubl_xml_file_button(self)
  • embed_ubl_xml_in_pdf(self, pdf_content)
  • generate_invoice_ubl_xml_etree(self, version='2.1')
  • generate_ubl_xml_string(self, version='2.1')
  • get_ubl_filename(self, version='2.1')
    This method is designed to be inherited
  • get_ubl_lang(self)
  • get_ubl_version(self)
  • is_ubl_sale_invoice_posted(self)

New fields (0)

No new fields.

Public methods (2)
  • is_ubl_xml_to_embed_in_invoice(self)
  • postprocess_pdf_report(self, record, buffer)

New fields (2)
  • embed_pdf_in_ubl_xml_invoice Boolean
    help="If active, the standalone UBL Invoice XML file will include the PDF of the invoice in base64 under the node 'AdditionalDocumentReference'. For example, to be compliant with the e-fff standard used in Belgium, you should activate this option." string='Embed PDF in UBL XML Invoice'
  • xml_format_in_pdf_invoice Selection
    default='ubl' selection_add=[('ubl', 'Universal Business Language (UBL)')]
Public methods (0)

No public methods.

New fields (1)
  • embed_pdf_in_ubl_xml_invoice Boolean
    readonly=False related='company_id.embed_pdf_in_ubl_xml_invoice'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/12.0/account_invoice_ubl
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Andrea, OCA Transbot, Miquel Raïch, oca-travis, Weblate, OCA-git-bot, Tom Blauwendraat, Davor Bojkić
WEBSITE
WEBSITEhttps://github.com/OCA/edi
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_partner
    - account_payment_mode
OCA/community-data-files:
    - account_payment_unece
    - base_unece
    - uom_unece
    - account_tax_unece
OCA/edi:
    - account_e-invoice_generate
    - base_ubl_payment
    - base_ubl
OCA/partner-contact:
    - base_vat_sanitized
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyPDF2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
invoice_form account_invoice_ubl.customer.invoice.form account.invoice button Inherits account.invoice_form
view_account_config_settings res.config.settings xpath Inherits account_e-invoice_generate.view_account_config_settings
Models touched (4)

New fields (0)

No new fields.

Public methods (9)
  • add_xml_in_pdf_buffer(self, buffer)
  • attach_ubl_xml_file_button(self)
    @api.multi
  • embed_ubl_xml_in_pdf(self, pdf_content=None, pdf_file=None)
    @api.multi
  • generate_invoice_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_ubl_xml_string(self, version='2.1')
    @api.multi
  • get_ubl_filename(self, version='2.1')
    @api.multi
    This method is designed to be inherited
  • get_ubl_lang(self)
    @api.multi
  • get_ubl_version(self)
    @api.multi
  • is_ubl_sale_invoice_posted(self)

New fields (0)

No new fields.

Public methods (2)
  • is_ubl_xml_to_embed_in_invoice(self)
  • postprocess_pdf_report(self, record, buffer)

New fields (2)
  • embed_pdf_in_ubl_xml_invoice Boolean
    help="If active, the standalone UBL Invoice XML file will include the PDF of the invoice in base64 under the node 'AdditionalDocumentReference'. For example, to be compliant with the e-fff standard used in Belgium, you should activate this option." string='Embed PDF in UBL XML Invoice'
  • xml_format_in_pdf_invoice Selection
    default='ubl' selection_add=[('ubl', 'Universal Business Language (UBL)')]
Public methods (0)

No public methods.

New fields (1)
  • embed_pdf_in_ubl_xml_invoice Boolean
    readonly=False related='company_id.embed_pdf_in_ubl_xml_invoice'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/11.0/account_invoice_ubl
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAndrea, OCA Transbot, oca-travis, OCA-git-bot, Tom Blauwendraat, OCA Git Bot
WEBSITE
WEBSITEhttps://github.com/OCA/edi/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_partner
    - account_payment_mode
OCA/community-data-files:
    - account_payment_unece
    - base_unece
    - account_tax_unece
    - product_uom_unece
OCA/edi:
    - account_e-invoice_generate
    - base_ubl_payment
    - base_ubl
OCA/partner-contact:
    - base_vat_sanitized
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyPDF2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
invoice_form account_invoice_ubl.customer.invoice.form account.invoice button Inherits account.invoice_form
view_account_config_settings res.config.settings xpath Inherits account_e-invoice_generate.view_account_config_settings
Models touched (4)

New fields (0)

No new fields.

Public methods (7)
  • attach_ubl_xml_file_button(self)
    @api.multi
  • embed_ubl_xml_in_pdf(self, pdf_content=None, pdf_file=None)
    @api.multi
  • generate_invoice_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_ubl_xml_string(self, version='2.1')
    @api.multi
  • get_ubl_filename(self, version='2.1')
    @api.multi
    This method is designed to be inherited
  • get_ubl_lang(self)
    @api.multi
  • get_ubl_version(self)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • render_qweb_pdf(self, res_ids=None, data=None)
    @api.multi
    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 (2)
  • embed_pdf_in_ubl_xml_invoice Boolean
    help="If active, the standalone UBL Invoice XML file will include the PDF of the invoice in base64 under the node 'AdditionalDocumentReference'. For example, to be compliant with the e-fff standard used in Belgium, you should activate this option." string='Embed PDF in UBL XML Invoice'
  • xml_format_in_pdf_invoice Selection
    default='ubl' selection_add=[('ubl', 'Universal Business Language (UBL)')]
Public methods (0)

No public methods.

New fields (1)
  • embed_pdf_in_ubl_xml_invoice Boolean
    related='company_id.embed_pdf_in_ubl_xml_invoice'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/10.0/account_invoice_ubl
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, GitHub, OCA Transbot, oca-travis, OCA-git-bot, Tom Blauwendraat
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_partner
    - account_payment_mode
OCA/community-data-files:
    - account_payment_unece
    - base_unece
    - product_uom_unece
    - account_tax_unece
OCA/edi:
    - account_e-invoice_generate
    - base_ubl_payment
    - base_ubl
OCA/partner-contact:
    - base_vat_sanitized
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyPDF2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
invoice_form account_invoice_ubl.customer.invoice.form account.invoice button Inherits account.invoice_form
view_account_config_settings account_invoice_ubl.account.config.settings account.config.settings div Inherits account_e-invoice_generate.view_account_config_settings
Models touched (4)

New fields (1)
  • embed_pdf_in_ubl_xml_invoice Boolean
    related='company_id.embed_pdf_in_ubl_xml_invoice'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (7)
  • attach_ubl_xml_file_button(self)
  • embed_ubl_xml_in_pdf(self, pdf_content=None, pdf_file=None)
  • generate_invoice_ubl_xml_etree(self, version='2.1')
  • generate_ubl_xml_string(self, version='2.1')
  • get_ubl_filename(self, version='2.1')
    This method is designed to be inherited
  • get_ubl_lang(self)
  • get_ubl_version(self)

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 (2)
  • embed_pdf_in_ubl_xml_invoice Boolean
    help="If active, the standalone UBL Invoice XML file will include the PDF of the invoice in base64 under the node 'AdditionalDocumentReference'. For example, to be compliant with the e-fff standard used in Belgium, you should activate this option." string='Embed PDF in UBL XML Invoice'
  • xml_format_in_pdf_invoice Selection
    default='ubl' selection_add=[('ubl', 'Universal Business Language (UBL)')]
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/9.0/account_invoice_ubl
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSHolger Brunn
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_partner
    - account_payment_mode
OCA/community-data-files:
    - product_uom_unece
    - account_tax_unece
    - base_unece
OCA/edi:
    - base_ubl_payment
    - base_ubl
OCA/partner-contact:
    - base_vat_sanitized
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyPDF2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
invoice_form account_invoice_ubl.customer.invoice.form account.invoice button Inherits account.invoice_form
view_company_form account_invoice_ubl.company.form res.company group Inherits base.view_company_form
Models touched (3)

New fields (0)

No new fields.

Public methods (8)
  • attach_ubl_xml_file_button(self)
    @api.multi
  • embed_ubl_xml_in_pdf(self, pdf_content)
    @api.multi
  • generate_invoice_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_ubl_xml_string(self, version='2.1')
    @api.multi
  • get_delivery_partner(self)
    @api.multi
  • get_ubl_filename(self, version='2.1')
    @api.multi
    This method is designed to be inherited
  • get_ubl_lang(self)
    @api.multi
  • get_ubl_version(self)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • get_pdf(self, cr, uid, ids, report_name, html=None, data=None, context=None)
    @api.v7
    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 (1)
  • embed_pdf_in_ubl_xml_invoice Boolean
    help="If active, the standalone UBL Invoice XML file will include the PDF of the invoice in base64 under the node 'AdditionalDocumentReference'. For example, to be compliant with the e-fff standard used in Belgium, you should activate this option." string='Embed PDF in UBL XML Invoice'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/8.0/account_invoice_ubl
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Pedro M. Baeza, GitHub, OCA Transbot, Adrien Peiffer (ACSONE), David Beal, oca-travis, OCA-git-bot, Tom Blauwendraat
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_partner
    - account_banking_payment_export
OCA/community-data-files:
    - account_payment_unece
    - base_unece
    - product_uom_unece
    - account_tax_unece
OCA/edi:
    - base_ubl_payment
    - base_ubl
OCA/partner-contact:
    - base_vat_sanitized
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - account_payment
    - account_voucher
    - base_iban
    - document
    - knowledge
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyPDF2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
invoice_form account_invoice_ubl.customer.invoice.form account.invoice button Inherits account.invoice_form
view_company_form res.company xpath Inherits base_ubl.view_company_form
Models touched (3)

New fields (0)

No new fields.

Public methods (8)
  • attach_ubl_xml_file_button(self)
    @api.multi
  • embed_ubl_xml_in_pdf(self, pdf_content)
    @api.multi
  • generate_invoice_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_ubl_xml_string(self, version='2.1')
    @api.multi
  • get_delivery_partner(self)
    @api.multi
  • get_ubl_filename(self, version='2.1')
    @api.multi
    This method is designed to be inherited
  • get_ubl_lang(self)
    @api.multi
  • get_ubl_version(self)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • get_pdf(self, cr, uid, ids, report_name, html=None, data=None, context=None)
    @api.v7
    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 (1)
  • embed_pdf_in_ubl_xml_invoice Boolean
    help="If active, the standalone UBL Invoice XML file will include the PDF of the invoice in base64 under the node 'AdditionalDocumentReference'. For example, to be compliant with the e-fff standard used in Belgium, you should activate this option." string='Embed PDF in UBL XML Invoice'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/edi
PULL REQUEST
PULL REQUEST[17.0][MIG] account_invoice_ubl: Migration to 17.0 (#1368)