Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
0aafdcd
Initial check-in of modules purchase_order_import, purchase_order_imp…
alexis-via Aug 27, 2016
e8708e2
Call api.multi get_ubl_filename method on a real object
alexis-via Sep 10, 2016
995176f
Update code following latest update of base_ubl
alexis-via Sep 10, 2016
7104bb9
Support context key no_embedded_ubl_xml
alexis-via Sep 11, 2016
8444646
Add support for UBL 2.0
alexis-via Sep 17, 2016
d23f4dc
Handle lang in UBL XML file generation
alexis-via Sep 19, 2016
5308307
8.0 Add support for partner bank matching on invoice update (#6)
Oct 18, 2016
da326d5
Port purchase_order_ubl to v10
alexis-via Feb 15, 2017
7e5e5da
[11.0][MIG] purchase_order_ubl
astirpe Feb 13, 2018
5ac8f2b
[FIX]support custom reports
luc-demeyer Oct 29, 2018
f3c9605
[UPD] README.rst
OCA-git-bot Oct 31, 2018
28f45b7
[12.0][MIG] purchase_order_ubl
astirpe Apr 2, 2019
203ebca
[REF] Split purchase_order_ubl and purchase_stock_ubl
astirpe Apr 2, 2019
1f385ee
[13.0][MIG] purchase_order_ubl
astirpe Jan 3, 2020
4960323
IMP purch_order: allow to using xml with no pdf and hook to customize…
bealdav Mar 28, 2020
d5d7841
pre-commit
astirpe Mar 30, 2020
634ce32
Code review
astirpe May 4, 2020
3d082e2
purchase_order_ubl 13.0.1.1.0
OCA-git-bot May 13, 2020
2e53bf2
IMP purch..ubl: replace line_number by purch_line.id
bealdav Jan 5, 2021
ebffa05
purchase_order_ubl 13.0.1.2.0
OCA-git-bot Jan 11, 2021
c3b6ebd
[IMP] purchase_order_ubl: black, isort, prettier
rconjour Mar 18, 2021
ea17daa
[MIG] purchase_order_ubl: Migration to 14.0
rconjour Mar 18, 2021
c72d9ba
[UPD] Update purchase_order_ubl.pot
oca-travis Apr 21, 2021
c73d110
Added translation using Weblate (French)
Yvesldff Jun 17, 2021
7fd6ec3
Translated using Weblate (French)
Yvesldff Jun 17, 2021
8838781
purchase_order_ubl: fix pdf render w/ single ID
luc-demeyer Aug 12, 2022
57a5691
purchase_order_ubl 14.0.1.0.1
OCA-git-bot Aug 30, 2022
797a757
[MIG] purchase_order_ubl_py3o from v10 to v14
alexis-via Oct 4, 2021
621ece2
purchase_order_ubl_py3o: black, isort, etc.
alexis-via Oct 4, 2021
3677639
purchase_order_ubl 14.0.1.1.0
OCA-git-bot Jul 15, 2023
afd0fb4
[IMP] purchase_order_ubl: pre-commit stuff
Nov 22, 2023
ddab014
[MIG] purchase_order_ubl: Migration to 16.0
Nov 22, 2023
f64b41e
[FIX] purchase_order_ubl: call `add_xml_in_pdf_buffer` only when appl…
Nov 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <alexis.delattre@akretion.com>
* Andrea Stirpe <a.stirpe@onestein.nl>
* Robin Conjour <rconjour@demolium.com>

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 <alexis.delattre@akretion.com>)
# 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 <yld@alliasys.fr>\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