trytond-edocument-ubl 8.0.0__tar.gz → 8.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/PKG-INFO +1 -1
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/edocument.py +3 -2
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/message.xml +4 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/template/2/base.xml +1 -1
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tryton.cfg +1 -1
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/.hgignore +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/COPYRIGHT +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/LICENSE +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/__init__.py +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/account.py +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/account.xml +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/document.py +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/exceptions.py +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/icons/LICENSE +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/bg.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/ca.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/cs.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/de.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/es.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/es_419.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/et.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/fa.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/fi.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/fr.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/hu.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/id.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/it.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/lo.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/lt.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/nl.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/pl.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/pt.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/ro.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/ru.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/sl.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/tr.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/uk.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/locale/zh_CN.po +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/party.py +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/pyproject.toml +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/template/2/CreditNote.xml +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/template/2/Invoice.xml +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/BDNDR-CCTS_CCT_SchemaModule-1.1.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/BDNDR-UnqualifiedDataTypes-1.1.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-CommonAggregateComponents-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-CommonBasicComponents-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-CommonExtensionComponents-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-CommonSignatureComponents-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-ExtensionContentDataType-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-QualifiedDataTypes-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-SignatureAggregateComponents-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-SignatureBasicComponents-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-XAdES01903v132-201601-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-XAdES01903v141-201601-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-xmldsig-core-schema-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-xmldsig1-schema-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/common/UBL-xmldsig11-schema-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/maindoc/UBL-CreditNote-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/maindoc/UBL-Invoice-2.4.xsd +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/UBL-CreditNote-2.1-Example.xml +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/UBL-Invoice-2.1-Example-Trivial.xml +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/UBL-Invoice-2.1-Example.xml +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/__init__.py +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/scenario_ubl_2_credit_note_parse.json +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/scenario_ubl_2_credit_note_parse.rst +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/scenario_ubl_2_invoice_parse.json +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/scenario_ubl_2_invoice_parse.rst +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/scenario_ubl_2_invoice_parse_trivial.rst +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/test_module.py +0 -0
- {trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/test_scenario.py +0 -0
|
@@ -1357,8 +1357,9 @@ class Invoice_Bank(metaclass=PoolMeta):
|
|
|
1357
1357
|
financial_account, party)
|
|
1358
1358
|
account.save()
|
|
1359
1359
|
else:
|
|
1360
|
-
raise InvoiceError(
|
|
1361
|
-
'edocument_ubl.
|
|
1360
|
+
raise InvoiceError(ngettext(
|
|
1361
|
+
'edocument_ubl.msg_bank_account_not_found',
|
|
1362
|
+
len(payees),
|
|
1362
1363
|
parties=','.join([p.rec_name for p in payees]),
|
|
1363
1364
|
account=etree.tostring(
|
|
1364
1365
|
financial_account,
|
|
@@ -24,5 +24,9 @@ this repository contains the full copyright notices and license terms. -->
|
|
|
24
24
|
<field name="text">Could not find tax for:
|
|
25
25
|
%(tax_category)s</field>
|
|
26
26
|
</record>
|
|
27
|
+
<record model="ir.message" id="msg_bank_account_not_found">
|
|
28
|
+
<field name="text">Could not find bank account "%(account)s" for party "%(parties)s".</field>
|
|
29
|
+
<field name="text_plural">Could not find bank account "%(account)s" for any of the parties "%(parties)s".</field>
|
|
30
|
+
</record>
|
|
27
31
|
</data>
|
|
28
32
|
</tryton>
|
|
@@ -84,7 +84,7 @@ this repository contains the full copyright notices and license terms. -->
|
|
|
84
84
|
<py:def function="TaxCategory(tax)">
|
|
85
85
|
<cbc:ID py:if="tax.unece_category_code">${tax.unece_category_code}</cbc:ID>
|
|
86
86
|
<cbc:Percent py:if="tax.type == 'percentage'">${format((tax.rate * 100).normalize(), 'f')}</cbc:Percent>
|
|
87
|
-
<cbc:TaxExemptionReasonCode py:if="
|
|
87
|
+
<cbc:TaxExemptionReasonCode py:if="hasattr(tax, 'vatex_code') and tax.vatex_code">${tax.vatex_code}</cbc:TaxExemptionReasonCode>
|
|
88
88
|
<cbc:TaxExemptionReason py:if="tax.legal_notice">${tax.legal_notice}</cbc:TaxExemptionReason>
|
|
89
89
|
<cac:TaxScheme py:if="tax.unece_code">
|
|
90
90
|
<cbc:ID>${tax.unece_code}</cbc:ID>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/maindoc/UBL-CreditNote-2.4.xsd
RENAMED
|
File without changes
|
{trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/2.4/maindoc/UBL-Invoice-2.4.xsd
RENAMED
|
File without changes
|
{trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/UBL-CreditNote-2.1-Example.xml
RENAMED
|
File without changes
|
|
File without changes
|
{trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/UBL-Invoice-2.1-Example.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/scenario_ubl_2_invoice_parse.json
RENAMED
|
File without changes
|
{trytond_edocument_ubl-8.0.0 → trytond_edocument_ubl-8.0.2}/tests/scenario_ubl_2_invoice_parse.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|