Commit Graph

313 Commits

Author SHA1 Message Date
OCA-git-bot
5656d74931 [ADD] setup.py 2023-06-09 14:58:31 +00:00
OCA-git-bot
8766e2e086 [UPD] README.rst 2023-06-09 14:58:31 +00:00
OCA-git-bot
b45cfe3c5e [UPD] addons table in README.md 2023-06-09 14:58:29 +00:00
oca-ci
d5c6ae1612 [UPD] Update intrastat_product.pot 2023-06-09 14:37:42 +00:00
OCA-git-bot
3f787aa413 Merge PR #214 into 16.0
Signed-off-by alexis-via
2023-06-09 14:34:34 +00:00
Weblate
8cd32c5a6f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-product_harmonized_system_delivery
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-product_harmonized_system_delivery/
2023-06-09 12:59:21 +00:00
Weblate
0c8f6ab2df Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-intrastat_base
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-intrastat_base/
2023-06-09 12:59:21 +00:00
OCA-git-bot
305824d7b8 [UPD] addons table in README.md 2023-06-09 12:59:14 +00:00
OCA-git-bot
e9636e08c3 intrastat_base 16.0.1.1.0 2023-06-09 12:59:08 +00:00
oca-ci
a2d4a07b18 [UPD] Update intrastat_base.pot 2023-06-09 12:56:44 +00:00
OCA-git-bot
0ddbd416bb Merge PR #219 into 16.0
Signed-off-by alexis-via
2023-06-09 12:53:45 +00:00
Alexis de Lattre
2aced8f567 intrastat_base: fix string formatting 2023-06-08 01:31:20 +02:00
Alexis de Lattre
d2d2f8d4ab Translated using Weblate (French)
Currently translated at 100.0% (1 of 1 strings)

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-product_harmonized_system_stock
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-product_harmonized_system_stock/fr/
2023-06-07 19:08:17 +00:00
Alexis de Lattre
e093c05352 Translated using Weblate (French)
Currently translated at 100.0% (5 of 5 strings)

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-product_harmonized_system_delivery
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-product_harmonized_system_delivery/fr/
2023-06-07 19:08:17 +00:00
Alexis de Lattre
dae24385f5 Translated using Weblate (French)
Currently translated at 100.0% (23 of 23 strings)

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-intrastat_base
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-intrastat_base/fr/
2023-06-07 19:08:17 +00:00
Alexis de Lattre
a7903bf584 Translated using Weblate (French)
Currently translated at 100.0% (35 of 35 strings)

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-product_harmonized_system
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-product_harmonized_system/fr/
2023-06-07 19:08:17 +00:00
Alexis de Lattre
fc397a3fff Added translation using Weblate (French) 2023-06-07 16:33:00 +00:00
Alexis de Lattre
6151586f39 Added translation using Weblate (French) 2023-06-07 16:30:47 +00:00
Alexis de Lattre
349255e569 intrastat_product: single XLSX export
There is now a single XLSX export that has 2 tabs:
1) computation lines
2) declaration lines
The declaration type is now mentionned in the XLSX export.
Ability to export several declarations in 1 XLSX file.
2023-06-06 15:35:17 +02:00
Sandrine (ACSONE)
844e853d63 Translated using Weblate (French (France) (fr_FR))
Currently translated at 100.0% (1 of 1 strings)

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-product_harmonized_system_stock
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-product_harmonized_system_stock/fr_FR/
2023-05-26 16:08:36 +00:00
Sandrine (ACSONE)
041fafbb8f Translated using Weblate (French)
Currently translated at 100.0% (23 of 23 strings)

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-intrastat_base
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-intrastat_base/fr/
2023-05-26 16:08:36 +00:00
Sandrine (ACSONE)
eaf98de2d8 Translated using Weblate (French)
Currently translated at 100.0% (35 of 35 strings)

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-product_harmonized_system
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-product_harmonized_system/fr/
2023-05-26 16:08:35 +00:00
Sandrine (ACSONE)
757c5f9cfb Added translation using Weblate (French (France) (fr_FR)) 2023-05-26 13:25:48 +00:00
gelo joga Rodríguez
fe4bef6db2 Translated using Weblate (Spanish)
Currently translated at 100.0% (3 of 3 strings)

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-product_harmonized_system_delivery
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-product_harmonized_system_delivery/es/
2023-04-17 17:33:49 +00:00
gelo joga Rodríguez
d87ae6a22c Translated using Weblate (Spanish)
Currently translated at 100.0% (35 of 35 strings)

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-product_harmonized_system
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-product_harmonized_system/es/
2023-04-17 17:33:49 +00:00
oca-git-bot
c219fce625 [IMP] update dotfiles [ci skip] 2023-03-12 19:26:15 +01:00
Alexis de Lattre
7de2169b70 [MIG] intrastat_product to v16
This migration has been made from the v14 branch akretion/14-brexit-simplification-and-type-on-fp and the changes of v15 has been re-integrated.

As discussed on https://github.com/OCA/intrastat-extrastat/issues/194
the intrastat transaction codes are now integrated in the module intrastat_product

The default value for transaction_id depending on the move_type of the
invoice have been dropped on fiscal position and company: Odoo sets 11
when fiscal position is B2B and 12 when fiscal position is B2C.
As a consequence: intrastat.transaction: company_id = False by default

Use textwrap for name_get() of intrastat.transaction

partner_id on computation line is not a related field any more: it allows
to auto-fill VAT from partner_id when creating a line manually.

computation and declaration line tree view: display transaction code
instead of transaction_id to save space
2023-03-06 10:11:08 +01:00
Alexis de Lattre
394b5e91a9 intrastat_product: Backport updates from v15
Make tests work
2023-03-06 10:11:08 +01:00
Alexis de Lattre
5071a99314 intrastat_product: re-write the generation of the messages in the warning pop-up
This is completely new implementation of the messages that are displayed
in the warning pop-up:
- no double messages
- messages are grouped by section and record
- nice HTML display insead of raw text
2023-03-06 10:11:08 +01:00
Alexis de Lattre
45b0208dcd intrastat_product: Improve warning message on intrastat transaction 2023-03-06 10:11:08 +01:00
Alexis de Lattre
3ece8af563 intrastat_product: move res_config_settings.py to wizard subdir 2023-03-06 10:11:08 +01:00
Alexis de Lattre
cc10b0fe67 intrastat_product: default intrastat transaction on fiscal position AND company
Odoo uses, by order of priority:
1) intrastat transaction of the invoice
2) default intrastat transaction of the fiscal position of the invoice
3) default intrastat transaction of the company
2023-03-06 10:11:08 +01:00
Alexis de Lattre
3ec9eddbf3 [IMP] Big simplification, update and cleanup
This commit aims at removing the over-complexity of intrastat modules
while increasing simplicity/usability for users.

- Move default intrastat transaction from res.company to account.fiscal.position to add su
pport for B2C (and not just B2B)
- improve usability: auto-generate declaration lines and XML export when
going from draft to done. Auto-delete declaration lines and XML export
when going from done to draft (and add confirmation pop-up).
- declaration lines are now readonly. Only computation lines can be created/edited manuall
y
- add field region_code on computation lines and declaration lines.
Remove region_id on declaration lines. This change allows big
simplification in some localization modules such as
l10n_fr_intrastat_product.
- simplify Brexit implementation. Northern Ireland is important, but we
can't afford to have so many lines of code and add a field on
product.template (origin_state_id) for a territory of 1.9 million
inhabitants! This is too costly to maintain and too complex for users.
- improve default visibility of fields when reporting_level = 'standard'
- add support for weight calculation from uom categories other than
units and weight, supposing that the 'weight' field on product.template
is the weight per uom of the product
- add EU companies from several different countries in demo data with valid VAT numbers
2023-03-06 10:11:08 +01:00
OCA-git-bot
67bf421078 intrastat_product 14.0.2.1.3 2023-03-06 10:11:08 +01:00
Víctor Martínez
cf48bbb427 [FIX] intrastat_product: Avoid error if we create lines manually
TT40919
2023-03-06 10:11:08 +01:00
OCA-git-bot
4922c208be intrastat_product 14.0.2.1.2 2023-03-06 10:11:08 +01:00
OCA-git-bot
dd6dadac0d intrastat_product 14.0.2.1.1 2023-03-06 10:11:08 +01:00
Luc De Meyer
7c262732e1 intrastat declaration - restore _compute_numbers that was dropped by PR #149 (removal of intrastat.common 2023-03-06 10:11:08 +01:00
Luc De Meyer
0255b7812a intrastat declaration - fix excel export 2023-03-06 10:11:08 +01:00
OCA Transbot
429563fac5 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: intrastat-extrastat-14.0/intrastat-extrastat-14.0-intrastat_product
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-14-0/intrastat-extrastat-14-0-intrastat_product/
2023-03-06 10:11:08 +01:00
OCA-git-bot
47f69a36d3 intrastat_product 14.0.2.1.0 2023-03-06 10:11:08 +01:00
oca-ci
1abf5baf4e [UPD] Update intrastat_product.pot 2023-03-06 10:11:08 +01:00
OCA-git-bot
c7cc9dc2dc intrastat_product 14.0.2.0.1 2023-03-06 10:11:08 +01:00
Víctor Martínez
15a294a088 [IMP] intrastat_product: Skip invoices according to partner country
Accidentally removed in 2646dc489e

TT38922
2023-03-06 10:11:08 +01:00
OCA Transbot
59a036c392 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: intrastat-extrastat-14.0/intrastat-extrastat-14.0-intrastat_product
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-14-0/intrastat-extrastat-14-0-intrastat_product/
2023-03-06 10:11:08 +01:00
OCA-git-bot
afa1bbf9c6 intrastat_product 14.0.2.0.0 2023-03-06 10:11:08 +01:00
OCA-git-bot
c6dec6571a [UPD] README.rst 2023-03-06 10:11:08 +01:00
oca-ci
4a55d95c37 [UPD] Update intrastat_product.pot 2023-03-06 10:11:08 +01:00
Víctor Martínez
4efa9f8159 [IMP] intrastat_product: Add an Intrastat summary in the invoice report.
TT37168
2023-03-06 10:11:08 +01:00
OCA-git-bot
6e55bc54ff intrastat_product 14.0.1.6.2 2023-03-06 10:11:08 +01:00