Skip to content

Commit

Permalink
[ADD] purchase_order_ubl: Added module.
Browse files Browse the repository at this point in the history
  • Loading branch information
mibab.heli authored and atularvind committed Feb 21, 2024
1 parent d6a28ac commit b2a0081
Show file tree
Hide file tree
Showing 14 changed files with 972 additions and 0 deletions.
89 changes: 89 additions & 0 deletions purchase_order_ubl/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
==================
Purchase Order UBL
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:2adc2a9795184986db36eb47cd81791eabe7a76238dbe21733ca894d81d7470a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github
:target: https://github.com/OCA/edi/tree/16.0/purchase_order_ubl
:alt: OCA/edi
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-purchase_order_ubl
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds support for UBL, the `Universal Business Language (UBL) <http://ubl.xml.org/>`_ standard,
on purchase orders. The UBL 2.1 standard became the
`ISO/IEC 19845 <http://www.iso.org/iso/catalogue_detail.htm?csnumber=66370>`_ 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.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/edi/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/edi/issues/new?body=module:%20purchase_order_ubl%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Akretion

Contributors
~~~~~~~~~~~~

* Alexis de Lattre <[email protected]>
* Andrea Stirpe <[email protected]>
* Robin Conjour <[email protected]>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/edi <https://github.com/OCA/edi/tree/16.0/purchase_order_ubl>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions purchase_order_ubl/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
14 changes: 14 additions & 0 deletions purchase_order_ubl/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# © 2016-2017 Akretion (Alexis de Lattre <[email protected]>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Purchase Order UBL",
"version": "16.0.1.1.0",
"category": "Purchase Management",
"license": "AGPL-3",
"summary": "Embed UBL XML file inside the PDF purchase order",
"author": "Akretion,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/edi",
"depends": ["purchase", "base_ubl"],
"installable": True,
}
45 changes: 45 additions & 0 deletions purchase_order_ubl/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_order_ubl
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-06-17 15:48+0000\n"
"Last-Translator: Yves Le Doeuff <[email protected]>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: purchase_order_ubl
#: model:ir.model.fields,field_description:purchase_order_ubl.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:purchase_order_ubl.field_purchase_order__display_name
msgid "Display Name"
msgstr ""

#. module: purchase_order_ubl
#: model:ir.model.fields,field_description:purchase_order_ubl.field_ir_actions_report__id
#: model:ir.model.fields,field_description:purchase_order_ubl.field_purchase_order__id
msgid "ID"
msgstr "ID"

#. module: purchase_order_ubl
#: model:ir.model.fields,field_description:purchase_order_ubl.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:purchase_order_ubl.field_purchase_order____last_update
msgid "Last Modified on"
msgstr "Dernière modification le"

#. module: purchase_order_ubl
#: model:ir.model,name:purchase_order_ubl.model_purchase_order
msgid "Purchase Order"
msgstr "Commande d'achat"

#. module: purchase_order_ubl
#: model:ir.model,name:purchase_order_ubl.model_ir_actions_report
msgid "Report Action"
msgstr ""
42 changes: 42 additions & 0 deletions purchase_order_ubl/i18n/purchase_order_ubl.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_order_ubl
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: purchase_order_ubl
#: model:ir.model.fields,field_description:purchase_order_ubl.field_ir_actions_report__display_name
#: model:ir.model.fields,field_description:purchase_order_ubl.field_purchase_order__display_name
msgid "Display Name"
msgstr ""

#. module: purchase_order_ubl
#: model:ir.model.fields,field_description:purchase_order_ubl.field_ir_actions_report__id
#: model:ir.model.fields,field_description:purchase_order_ubl.field_purchase_order__id
msgid "ID"
msgstr ""

#. module: purchase_order_ubl
#: model:ir.model.fields,field_description:purchase_order_ubl.field_ir_actions_report____last_update
#: model:ir.model.fields,field_description:purchase_order_ubl.field_purchase_order____last_update
msgid "Last Modified on"
msgstr ""

#. module: purchase_order_ubl
#: model:ir.model,name:purchase_order_ubl.model_purchase_order
msgid "Purchase Order"
msgstr ""

#. module: purchase_order_ubl
#: model:ir.model,name:purchase_order_ubl.model_ir_actions_report
msgid "Report Action"
msgstr ""
4 changes: 4 additions & 0 deletions purchase_order_ubl/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import purchase
from . import report
Loading

0 comments on commit b2a0081

Please sign in to comment.