From f0b0666773899c2a5eb0fb1e9d1fac968a79e23f Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Thu, 26 Mar 2026 19:50:27 +0100 Subject: [PATCH] 26.03.26 --- modules/account_invoice/invoice.xml | 13 ++++++++++ .../invoice_ict_final.fodt | 26 +++++++++---------- modules/purchase_trade/invoice.xml | 16 ------------ modules/purchase_trade/setup.py | 10 +++---- modules/purchase_trade/tryton.cfg | 1 - 5 files changed, 31 insertions(+), 35 deletions(-) rename modules/{purchase_trade => account_invoice}/invoice_ict_final.fodt (99%) delete mode 100644 modules/purchase_trade/invoice.xml diff --git a/modules/account_invoice/invoice.xml b/modules/account_invoice/invoice.xml index 1f500ef..aeb62c8 100755 --- a/modules/account_invoice/invoice.xml +++ b/modules/account_invoice/invoice.xml @@ -318,6 +318,19 @@ this repository contains the full copyright notices and license terms. --> + + Final Invoice + account.invoice + account.invoice + account_invoice/invoice_ict_final.fodt + + + + form_print + account.invoice,-1 + + + Invoice diff --git a/modules/purchase_trade/invoice_ict_final.fodt b/modules/account_invoice/invoice_ict_final.fodt similarity index 99% rename from modules/purchase_trade/invoice_ict_final.fodt rename to modules/account_invoice/invoice_ict_final.fodt index a09960a..7e80ec8 100644 --- a/modules/purchase_trade/invoice_ict_final.fodt +++ b/modules/account_invoice/invoice_ict_final.fodt @@ -5,16 +5,16 @@ Final Invoice willen 2018-12-09T16:20:00 - 2026-03-26T19:27:43.538000000 + 2026-03-26T19:40:52.573000000 2007-08-28T18:19:00 LibreOffice/7.6.0.3$Windows_X86_64 LibreOffice_project/69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265 - PT3H3M36S - 4 + PT3H5M31S + 6 - + - 9878 + 7144 0 27264 13187 @@ -23,12 +23,12 @@ view2 - 10084 - 15993 + 18336 + 26861 0 - 9878 + 7144 27263 - 23063 + 20329 0 0 false @@ -101,7 +101,7 @@ false false false - 248552 + 336932 84510 false false @@ -172,7 +172,7 @@ - + @@ -3991,11 +3991,11 @@ WE CERTIFY THAT THE MERCHANDISE IS OF BRAZIL ORIGIN L/C NUMBER <invoice.reference or ''> IMPORTER H.S. CODE NOS. <invoice.party_tax_identifier.type_string if invoice.party_tax_identifier else '5201.0090'> - IMPORTER’S NTN <invoice.party_tax_identifier.code if invoice.party_tax_identifier else ''> + IMPORTER NTN <invoice.party_tax_identifier.code if invoice.party_tax_identifier else ''> - <invoice.currency.symbol if invoice.currency else 'USD'><format_currency(invoice.total_amount, invoice.party.lang, invoice.currency)> + <format_currency(invoice.total_amount, invoice.party.lang, invoice.currency)> diff --git a/modules/purchase_trade/invoice.xml b/modules/purchase_trade/invoice.xml deleted file mode 100644 index c05edbd..0000000 --- a/modules/purchase_trade/invoice.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - Final Invoice - account.invoice - account.invoice - purchase_trade/invoice_ict_final.fodt - - - form_print - account.invoice,-1 - - - - diff --git a/modules/purchase_trade/setup.py b/modules/purchase_trade/setup.py index 60d91b6..58a5ffc 100755 --- a/modules/purchase_trade/setup.py +++ b/modules/purchase_trade/setup.py @@ -67,10 +67,10 @@ setup(name=name, + ['trytond.modules.purchase_trade.%s' % p for p in find_packages()] ), - package_data={ - 'trytond.modules.purchase_trade': (info.get('xml', []) - + ['tryton.cfg', 'view/*.xml', 'locale/*.po']), - }, + package_data={ + 'trytond.modules.purchase_trade': (info.get('xml', []) + + ['tryton.cfg', 'view/*.xml', 'locale/*.po']), + }, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Plugins', @@ -120,4 +120,4 @@ setup(name=name, [trytond.modules] purchase_trade = trytond.modules.purchase_trade """, - ) \ No newline at end of file + ) diff --git a/modules/purchase_trade/tryton.cfg b/modules/purchase_trade/tryton.cfg index cb663bd..e125de5 100755 --- a/modules/purchase_trade/tryton.cfg +++ b/modules/purchase_trade/tryton.cfg @@ -34,4 +34,3 @@ xml: weight_report.xml dimension.xml backtoback.xml - invoice.xml