Skip to content

Commit e6bda0c

Browse files
committed
Merge PR #893 into 16.0
Signed-off-by jbaudoux
2 parents 7f6115a + 3349389 commit e6bda0c

File tree

17 files changed

+881
-1
lines changed

17 files changed

+881
-1
lines changed

account_einvoice_generate/models/account_move.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class AccountMove(models.Model):
1111
def get_payment_identifier(self):
1212
"""This method is designed to be inherited in localization modules"""
1313
self.ensure_one()
14-
return None
14+
return self.payment_reference
1515

1616
@api.model
1717
def _get_invoice_report_names(self):

base_ubl_payment/README.rst

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
================
2+
Base UBL Payment
3+
================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:5d8f1ed6a0406980d933f6c275dfbc46a8171e11fdebde49bbef014f0feec5af
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github
20+
:target: https://github.com/OCA/edi/tree/16.0/base_ubl_payment
21+
:alt: OCA/edi
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/edi-16-0/edi-16-0-base_ubl_payment
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/edi&target_branch=16.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module is a small module above the *base_ubl* module;
32+
it adds the generation of the *PaymentMeans* UBL block.
33+
I decided to make it a separate module because it depends
34+
on the module *account_payment_unece* which itself depend on
35+
*account_banking_payment_export*, and I didn't want to add
36+
these dependencies on the *base_ubl* module.
37+
38+
**Table of contents**
39+
40+
.. contents::
41+
:local:
42+
43+
Bug Tracker
44+
===========
45+
46+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/edi/issues>`_.
47+
In case of trouble, please check there if your issue has already been reported.
48+
If you spotted it first, help us to smash it by providing a detailed and welcomed
49+
`feedback <https://github.com/OCA/edi/issues/new?body=module:%20base_ubl_payment%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
50+
51+
Do not contact contributors directly about support or help with technical issues.
52+
53+
Credits
54+
=======
55+
56+
Authors
57+
~~~~~~~
58+
59+
* Akretion
60+
61+
Contributors
62+
~~~~~~~~~~~~
63+
64+
* Alexis de Lattre <alexis.delattre@akretion.com>
65+
* Andrea Stirpe <a.stirpe@onestein.nl>
66+
* Dhara Solanki <dhara.solanki@initos.com>
67+
68+
Maintainers
69+
~~~~~~~~~~~
70+
71+
This module is maintained by the OCA.
72+
73+
.. image:: https://odoo-community.org/logo.png
74+
:alt: Odoo Community Association
75+
:target: https://odoo-community.org
76+
77+
OCA, or the Odoo Community Association, is a nonprofit organization whose
78+
mission is to support the collaborative development of Odoo features and
79+
promote its widespread use.
80+
81+
This module is part of the `OCA/edi <https://github.com/OCA/edi/tree/16.0/base_ubl_payment>`_ project on GitHub.
82+
83+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

base_ubl_payment/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
from . import models

base_ubl_payment/__manifest__.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# © 2016-2017 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
{
5+
"name": "Base UBL Payment",
6+
"version": "16.0.1.0.0",
7+
"category": "Hidden",
8+
"license": "AGPL-3",
9+
"summary": "Payment-related code for Universal Business Language (UBL)",
10+
"author": "Akretion,Odoo Community Association (OCA)",
11+
"website": "https://github.com/OCA/edi",
12+
"depends": ["account_payment_unece", "base_ubl"],
13+
"installable": True,
14+
}
+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * base_ubl_payment
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"Last-Translator: \n"
10+
"Language-Team: \n"
11+
"MIME-Version: 1.0\n"
12+
"Content-Type: text/plain; charset=UTF-8\n"
13+
"Content-Transfer-Encoding: \n"
14+
"Plural-Forms: \n"
15+
16+
#. module: base_ubl_payment
17+
#: model:ir.model,name:base_ubl_payment.model_base_ubl
18+
msgid "Common methods to generate and parse UBL XML files"
19+
msgstr ""
20+
21+
#. module: base_ubl_payment
22+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name
23+
msgid "Display Name"
24+
msgstr ""
25+
26+
#. module: base_ubl_payment
27+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id
28+
msgid "ID"
29+
msgstr ""
30+
31+
#. module: base_ubl_payment
32+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update
33+
msgid "Last Modified on"
34+
msgstr ""
35+
36+
#. module: base_ubl_payment
37+
#: code:addons/base_ubl_payment/models/ubl.py:0
38+
#, python-format
39+
msgid ""
40+
"Missing 'UNECE Payment Mean' on payment type '{method}' "
41+
"used by the payment mode '{mode}'."
42+
msgstr ""

base_ubl_payment/i18n/es.po

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * base_ubl_payment
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-11-22 20:34+0000\n"
10+
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
11+
"Language-Team: none\n"
12+
"Language: es\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: base_ubl_payment
20+
#: model:ir.model,name:base_ubl_payment.model_base_ubl
21+
msgid "Common methods to generate and parse UBL XML files"
22+
msgstr "Métodos habituales para generar y analizar archivos XML UBL"
23+
24+
#. module: base_ubl_payment
25+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name
26+
msgid "Display Name"
27+
msgstr "Mostrar Nombre"
28+
29+
#. module: base_ubl_payment
30+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id
31+
msgid "ID"
32+
msgstr "ID"
33+
34+
#. module: base_ubl_payment
35+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update
36+
msgid "Last Modified on"
37+
msgstr "Última Modificación el"
38+
39+
#. module: base_ubl_payment
40+
#: code:addons/base_ubl_payment/models/ubl.py:0
41+
#, python-format
42+
msgid ""
43+
"Missing 'UNECE Payment Mean' on payment type '{method}' "
44+
"used by the payment mode '{mode}'."
45+
msgstr ""
46+
"Falta 'UNECE Payment Mean' en el tipo de pago '{method}' utilizado por el modo de "
47+
"pago '{mode}'."

base_ubl_payment/i18n/fr.po

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * base_ubl_payment
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-05-29 11:08+0000\n"
10+
"Last-Translator: Claude R Perrin <claude@perrin.it>\n"
11+
"Language-Team: none\n"
12+
"Language: fr\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n > 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: base_ubl_payment
20+
#: model:ir.model,name:base_ubl_payment.model_base_ubl
21+
msgid "Common methods to generate and parse UBL XML files"
22+
msgstr "Méthodes courantes pour générer et analyser les fichiers XML UBL"
23+
24+
#. module: base_ubl_payment
25+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name
26+
msgid "Display Name"
27+
msgstr "Nom affiché"
28+
29+
#. module: base_ubl_payment
30+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id
31+
msgid "ID"
32+
msgstr "ID"
33+
34+
#. module: base_ubl_payment
35+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update
36+
msgid "Last Modified on"
37+
msgstr "Dernière modification le"
38+
39+
#. module: base_ubl_payment
40+
#: code:addons/base_ubl_payment/models/ubl.py:0
41+
#, python-format
42+
msgid ""
43+
"Missing 'UNECE Payment Mean' on payment type '{method}' "
44+
"used by the payment mode '{mode}'."
45+
msgstr ""
46+
"'Moyen de paiement UNECE’ manquant sur le type de paiement '{method}' utilisé par "
47+
"le mode de paiement '{mode}'."

base_ubl_payment/i18n/hr.po

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * base_ubl_payment
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 12.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2019-11-12 17:34+0000\n"
10+
"Last-Translator: Bole <bole@dajmi5.com>\n"
11+
"Language-Team: none\n"
12+
"Language: hr\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
17+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
18+
"X-Generator: Weblate 3.8\n"
19+
20+
#. module: base_ubl_payment
21+
#: model:ir.model,name:base_ubl_payment.model_base_ubl
22+
msgid "Common methods to generate and parse UBL XML files"
23+
msgstr "Zajedničke metode za generiranje i parsiranje UBL XML datoteka"
24+
25+
#. module: base_ubl_payment
26+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name
27+
msgid "Display Name"
28+
msgstr ""
29+
30+
#. module: base_ubl_payment
31+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id
32+
msgid "ID"
33+
msgstr ""
34+
35+
#. module: base_ubl_payment
36+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update
37+
msgid "Last Modified on"
38+
msgstr ""
39+
40+
#. module: base_ubl_payment
41+
#: code:addons/base_ubl_payment/models/ubl.py:0
42+
#, python-format
43+
msgid ""
44+
"Missing 'UNECE Payment Mean' on payment type '{method}' "
45+
"used by the payment mode '{mode}'."
46+
msgstr ""
47+
"Nedostaje UNECE šifra načina plaćanja '{method}' korštenog na tipu plaćanja '{mode}'."

base_ubl_payment/i18n/nl.po

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * base_ubl_payment
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 13.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2020-12-13 02:36+0000\n"
10+
"Last-Translator: Bosd <c5e2fd43-d292-4c90-9d1f-74ff3436329a@anonaddy.me>\n"
11+
"Language-Team: none\n"
12+
"Language: nl\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 3.10\n"
18+
19+
#. module: base_ubl_payment
20+
#: model:ir.model,name:base_ubl_payment.model_base_ubl
21+
msgid "Common methods to generate and parse UBL XML files"
22+
msgstr ""
23+
"Gemeenschappelijke code voor het genereren en verwerken van UBL XML bestanden"
24+
25+
#. module: base_ubl_payment
26+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__display_name
27+
msgid "Display Name"
28+
msgstr ""
29+
30+
#. module: base_ubl_payment
31+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl__id
32+
msgid "ID"
33+
msgstr ""
34+
35+
#. module: base_ubl_payment
36+
#: model:ir.model.fields,field_description:base_ubl_payment.field_base_ubl____last_update
37+
msgid "Last Modified on"
38+
msgstr ""
39+
40+
#. module: base_ubl_payment
41+
#: code:addons/base_ubl_payment/models/ubl.py:0
42+
#, python-format
43+
msgid ""
44+
"Missing 'UNECE Payment Mean' on payment type '{method}' "
45+
"used by the payment mode '{mode}'."
46+
msgstr ""
47+
"Ontbrekende 'UNECE betaalmethode' voor betalingstype '{method}' gebruikt door "
48+
"betaalmethode '{mode}'."

base_ubl_payment/models/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
from . import ubl

0 commit comments

Comments
 (0)