Sale Order UBL

sale_order_ubl
REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/14.0/sale_order_ubl
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYSales
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, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Simone Orsi, fshah, bosd
WEBSITE
WEBSITEhttps://github.com/OCA/edi
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/community-data-files:
    - uom_unece
    - account_tax_unece
    - base_unece
OCA/edi:
    - base_ubl
    - pdf_helper
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pypdf>=3.1.0,<5.0
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • is_ubl_xml_to_embed_in_sale_order(self)

New fields (0)

No new fields.

Public methods (11)
  • add_xml_in_pdf_buffer(self, buffer)
  • embed_ubl_xml_in_pdf(self, pdf_content)
  • generate_order_response_simple_ubl_xml_etree(self, version='2.1')
  • generate_quotation_ubl_xml_etree(self, version='2.1')
  • generate_ubl_xml_string(self, doc_type, version='2.1')
  • get_order_states(self)
    @api.model
  • get_quotation_states(self)
    @api.model
  • get_ubl_filename(self, doc_type, version='2.1')
    This method is designed to be inherited
  • get_ubl_lang(self)
  • get_ubl_sale_order_doc_type(self)
  • get_ubl_version(self)
REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/13.0/sale_order_ubl
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYSales
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, OCA Transbot, oca-travis, OCA-git-bot, Tom Blauwendraat, Simone Orsi
WEBSITE
WEBSITEhttps://github.com/OCA/edi
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/community-data-files:
    - uom_unece
    - account_tax_unece
    - base_unece
OCA/edi:
    - base_ubl
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (3)
  • is_ubl_xml_to_embed_in_sale_order(self)
  • postprocess_pdf_report(self, record, buffer)
  • render_qweb_pdf(self, res_ids=None, data=None)
    This is only necessary when tests are enabled. It forces the creation of pdf instead of html.

New fields (0)

No new fields.

Public methods (11)
  • add_xml_in_pdf_buffer(self, buffer)
  • embed_ubl_xml_in_pdf(self, pdf_content)
  • generate_order_response_simple_ubl_xml_etree(self, version='2.1')
  • generate_quotation_ubl_xml_etree(self, version='2.1')
  • generate_ubl_xml_string(self, doc_type, version='2.1')
  • get_order_states(self)
    @api.model
  • get_quotation_states(self)
    @api.model
  • get_ubl_filename(self, doc_type, version='2.1')
    This method is designed to be inherited
  • get_ubl_lang(self)
  • get_ubl_sale_order_doc_type(self)
  • get_ubl_version(self)
REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/12.0/sale_order_ubl
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSales
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
WEBSITE
WEBSITEhttps://github.com/OCA/edi
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/community-data-files:
    - uom_unece
    - account_tax_unece
    - base_unece
OCA/edi:
    - base_ubl
OCA/partner-contact:
    - base_vat_sanitized
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - 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 (0)

No views found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (9)
  • embed_ubl_xml_in_pdf(self, pdf_content=None, pdf_file=None)
    @api.multi
  • generate_order_response_simple_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_quotation_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_ubl_xml_string(self, doc_type, version='2.1')
    @api.multi
  • get_order_states(self)
    @api.model
  • get_quotation_states(self)
    @api.model
  • get_ubl_filename(self, doc_type, version='2.1')
    @api.multi
    This method is designed to be inherited
  • get_ubl_lang(self)
    @api.multi
  • get_ubl_version(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/11.0/sale_order_ubl
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAndrea, oca-travis, 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/community-data-files:
    - product_uom_unece
    - account_tax_unece
    - base_unece
OCA/edi:
    - base_ubl
OCA/partner-contact:
    - base_vat_sanitized
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - 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 (0)

No views found for this module.

Models touched (2)

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

No new fields.

Public methods (9)
  • embed_ubl_xml_in_pdf(self, pdf_content=None, pdf_file=None)
    @api.multi
  • generate_order_response_simple_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_quotation_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_ubl_xml_string(self, doc_type, version='2.1')
    @api.multi
  • get_order_states(self)
    @api.model
  • get_quotation_states(self)
    @api.model
  • get_ubl_filename(self, doc_type, version='2.1')
    @api.multi
    This method is designed to be inherited
  • get_ubl_lang(self)
    @api.multi
  • get_ubl_version(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/10.0/sale_order_ubl
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales
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
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/community-data-files:
    - product_uom_unece
    - account_tax_unece
    - base_unece
OCA/edi:
    - base_ubl
OCA/partner-contact:
    - base_vat_sanitized
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_planner
    - procurement
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyPDF2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

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

No new fields.

Public methods (9)
  • embed_ubl_xml_in_pdf(self, pdf_content=None, pdf_file=None)
    @api.multi
  • generate_order_response_simple_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_quotation_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_ubl_xml_string(self, doc_type, version='2.1')
    @api.multi
  • get_order_states(self)
    @api.model
  • get_quotation_states(self)
    @api.model
  • get_ubl_filename(self, doc_type, version='2.1')
    @api.multi
    This method is designed to be inherited
  • get_ubl_lang(self)
    @api.multi
  • get_ubl_version(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/9.0/sale_order_ubl
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
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/community-data-files:
    - product_uom_unece
    - account_tax_unece
    - base_unece
OCA/edi:
    - base_ubl
OCA/partner-contact:
    - base_vat_sanitized
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_tip
    - web_planner
    - procurement
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyPDF2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

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

No new fields.

Public methods (9)
  • embed_ubl_xml_in_pdf(self, pdf_content)
    @api.multi
  • generate_order_response_simple_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_quotation_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_ubl_xml_string(self, doc_type, version='2.1')
    @api.multi
  • get_order_states(self)
    @api.model
  • get_quotation_states(self)
    @api.model
  • get_ubl_filename(self, doc_type, version='2.1')
    @api.multi
    This method is designed to be inherited
  • get_ubl_lang(self)
    @api.multi
  • get_ubl_version(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/8.0/sale_order_ubl
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSPedro M. Baeza, Adrien Peiffer (ACSONE), oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/community-data-files:
    - product_uom_unece
    - account_tax_unece
    - base_unece
OCA/edi:
    - base_ubl
OCA/partner-contact:
    - base_vat_sanitized
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - web_kanban_sparkline
    - account_voucher
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - board
    - edi
    - email_template
    - procurement
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyPDF2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (2)

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

No new fields.

Public methods (9)
  • embed_ubl_xml_in_pdf(self, pdf_content)
    @api.multi
  • generate_order_response_simple_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_quotation_ubl_xml_etree(self, version='2.1')
    @api.multi
  • generate_ubl_xml_string(self, doc_type, version='2.1')
    @api.multi
  • get_order_states(self)
    @api.model
  • get_quotation_states(self)
    @api.model
  • get_ubl_filename(self, doc_type, version='2.1')
    @api.multi
    This method is designed to be inherited
  • get_ubl_lang(self)
    @api.multi
  • get_ubl_version(self)
    @api.multi