Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

16.0 mig purchase order ubl #871

Open
wants to merge 33 commits into
base: 16.0
Choose a base branch
from
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
2c64aec
Initial check-in of modules purchase_order_import, purchase_order_imp…
alexis-via Aug 27, 2016
dbabaec
Call api.multi get_ubl_filename method on a real object
alexis-via Sep 10, 2016
e9aae04
Update code following latest update of base_ubl
alexis-via Sep 10, 2016
ccdc209
Support context key no_embedded_ubl_xml
alexis-via Sep 11, 2016
df429fe
Add support for UBL 2.0
alexis-via Sep 17, 2016
d81e05f
Handle lang in UBL XML file generation
alexis-via Sep 19, 2016
b6f591a
8.0 Add support for partner bank matching on invoice update (#6)
Oct 18, 2016
4144fac
Port purchase_order_ubl to v10
alexis-via Feb 15, 2017
9b988af
[11.0][MIG] purchase_order_ubl
astirpe Feb 13, 2018
52a3f38
[FIX]support custom reports
luc-demeyer Oct 29, 2018
eefb83f
[UPD] README.rst
OCA-git-bot Oct 31, 2018
8fbb2b8
[12.0][MIG] purchase_order_ubl
astirpe Apr 2, 2019
8dff23b
[REF] Split purchase_order_ubl and purchase_stock_ubl
astirpe Apr 2, 2019
8673663
[13.0][MIG] purchase_order_ubl
astirpe Jan 3, 2020
70d043d
IMP purch_order: allow to using xml with no pdf and hook to customize…
bealdav Mar 28, 2020
30485eb
pre-commit
astirpe Mar 30, 2020
a83b768
Code review
astirpe May 4, 2020
5b4f0ff
purchase_order_ubl 13.0.1.1.0
OCA-git-bot May 13, 2020
bffc1fe
IMP purch..ubl: replace line_number by purch_line.id
bealdav Jan 5, 2021
f0873b0
purchase_order_ubl 13.0.1.2.0
OCA-git-bot Jan 11, 2021
48f1058
[IMP] purchase_order_ubl: black, isort, prettier
rconjour Mar 18, 2021
0c4521e
[MIG] purchase_order_ubl: Migration to 14.0
rconjour Mar 18, 2021
b9254f8
[UPD] Update purchase_order_ubl.pot
oca-travis Apr 21, 2021
f166473
Added translation using Weblate (French)
Yvesldff Jun 17, 2021
f21884b
Translated using Weblate (French)
Yvesldff Jun 17, 2021
2a16377
purchase_order_ubl: fix pdf render w/ single ID
luc-demeyer Aug 12, 2022
85b9d6b
purchase_order_ubl 14.0.1.0.1
OCA-git-bot Aug 30, 2022
528df6f
[MIG] purchase_order_ubl_py3o from v10 to v14
alexis-via Oct 4, 2021
ebe4f51
purchase_order_ubl_py3o: black, isort, etc.
alexis-via Oct 4, 2021
e9820dc
purchase_order_ubl 14.0.1.1.0
OCA-git-bot Jul 15, 2023
31d1381
[IMP] purchase_order_ubl: pre-commit stuff
Nov 22, 2023
ffcfef0
[MIG] purchase_order_ubl: Migration to 16.0
Nov 22, 2023
c1a5f8e
[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 <[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
Loading