[New Feature Proposal] UBL based EDI

there is one great feature by Odoo Community Association (OCA) GitHub - OCA/edi

Extract of the most important info
Base UBL
This is the base module for the implementation of the Universal Business Language (UBL) standard. The UBL standard became the ISO/IEC 19845 standard in January 2016 (cf the official announce http://www.prweb.com/releases/2016/01/prweb13186919.htm_).

This module contains methods to generate and parse UBL files. This module doesn’t do anything useful by itself, but it is used by several other modules:

purchase_order_ubl that generate UBL purchase orders,
sale_order_import_ubl that imports UBL sale orders.
account_invoice_import_ubl that imports UBL invoices,

Purchase Order UBL
This module adds support for UBL, the Universal Business Language (UBL) standard, on purchase orders. The UBL 2.1 standard became the ISO/IEC 19845 standard in December 2015 (cf the official announce http://www.prweb.com/releases/2016/01/prweb13186919.htm_).

With this module, when you generate the purchase order or RFQ report:

on a draft/RFQ/Bid Received purchase order, the PDF file will have an embedded XML Request For Quotation file compliant with the UBL 2.1 or 2.0 standard.
on an approved purchase order, the PDF file will have an embedded XML Order file compliant with the UBL 2.1 or 2.0 standard.
If your supplier has Odoo and has installed the module sale_order_import_ubl, he will be able to import the PDF file and it will automatically create the quotation/sale order.

Purchase Order Import
This module adds support for the import of electronic quotations. This module provides the base methods to import electronic quotations ; it requires additional modules to support specific order formats:

module purchase_order_import_ubl: adds support for Universal Business Language (UBL) quotations as:
XML file,
PDF file with an embedded XML file.
Configuration
No configuration is needed.

Usage
This module adds a button Import Quotation File on Requests for Quotation. This button starts a wizard that will propose you to select the quotation file. The wizard will also propose you an update option:

only update the prices of the draft purchase order from the quotation file (default option),
update prices and quantities of the draft purchase order from the quotation file.
When you click on the button Update RFQ:

if Odoo has a line in the quotation file that is not in the draft purchase order, it will create a new purchase order line,
if Odoo has a line in the draft purchase order that is not in the quotation file, it will write a warning in the chatter of the purchase order (it will not delete the purchase order line),
for all the lines that are both in the draft purchase order and in the quotation file, the purchase order line will be updated if needed.
if the incoterm of the quotation file is not the same as the incoterm of the draft purchase order, Odoo will update the incoterm of the purchase order.
the imported quotation file is attached to the purchase order.
Once the quotation file is imported, you should read the messages in the chatter of the purchase order because it may contain important information about the import.

Purchase Order Import UBL
This module adds support for the import of electronic quotations that comply with the Universal Business Language (UBL) standard. The UBL standard became the ISO/IEC 19845 standard in December 2015 (cf the official announce http://www.prweb.com/releases/2016/01/prweb13186919.htm_). The file can be in two formats:

UBL XML file,
PDF file with an embedded UBL XML file.
You can use the OCA module sale_order_ubl to generate PDF quotations with an embedded UBL XML file.

I am wondering whether there are enough interest from other community members on this topic?

With this feature implemented, there will be more easier to expand the user base because more user using ERPNext with EDI enabled, both existing user and new user will have more easier life using the system, thus to attract more users!

If there is enough interest on this , I can help in someway to migrate from Odoo to ERPNext.

11 Likes

This is definitely something i’m interested in!

can you give me some background about your business case / requirement, it seems no other people are interested in this topic, so I am wondering whether it is proper time to make a pull request to the core at the moment,

A good idea would be to start a fund / bounty and ask people to commit money. Then we know for sure :sweat_smile:

3 Likes

Configuration: Set UBL version, XSLT? overkill perhaps…