Commit Graph

257 Commits

Author SHA1 Message Date
Alexis de Lattre
8be97de8d0 [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
2024-03-26 17:07:51 +01:00
OCA-git-bot
970601ed4b intrastat_product 14.0.2.1.3 2024-03-26 17:07:51 +01:00
Víctor Martínez
554173acc7 [FIX] intrastat_product: Avoid error if we create lines manually
TT40919
2024-03-26 17:07:51 +01:00
OCA-git-bot
fdee8e5c86 intrastat_product 14.0.2.1.2 2024-03-26 17:07:51 +01:00
OCA-git-bot
02edfc3ee4 intrastat_product 14.0.2.1.1 2024-03-26 17:07:51 +01:00
Luc De Meyer
3f62a5dd33 intrastat declaration - restore _compute_numbers that was dropped by PR #149 (removal of intrastat.common 2024-03-26 17:07:51 +01:00
Luc De Meyer
a576b93879 intrastat declaration - fix excel export 2024-03-26 17:07:51 +01:00
OCA Transbot
45f4218bc9 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/
2024-03-26 17:07:51 +01:00
OCA-git-bot
949df1abd3 intrastat_product 14.0.2.1.0 2024-03-26 17:07:51 +01:00
oca-ci
336698368c [UPD] Update intrastat_product.pot 2024-03-26 17:07:51 +01:00
OCA-git-bot
8c159050e8 intrastat_product 14.0.2.0.1 2024-03-26 17:07:51 +01:00
Víctor Martínez
ae046349e0 [IMP] intrastat_product: Skip invoices according to partner country
Accidentally removed in 2646dc489e

TT38922
2024-03-26 17:07:51 +01:00
OCA Transbot
10f74c69ce 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/
2024-03-26 17:07:51 +01:00
OCA-git-bot
a9ee6954ce intrastat_product 14.0.2.0.0 2024-03-26 17:07:51 +01:00
OCA-git-bot
06c8b52cfe [UPD] README.rst 2024-03-26 17:07:51 +01:00
oca-ci
7949f28fec [UPD] Update intrastat_product.pot 2024-03-26 17:07:51 +01:00
Víctor Martínez
12403f7075 [IMP] intrastat_product: Add an Intrastat summary in the invoice report.
TT37168
2024-03-26 17:07:51 +01:00
OCA-git-bot
9cb2ef8ce0 intrastat_product 14.0.1.6.2 2024-03-26 17:07:51 +01:00
Stefan Rijnhart
c678d71a25 [FIX] intrastat_product: typo in filename 2024-03-26 17:07:51 +01:00
Stefan Rijnhart
325d66435c [IMP] intrastat_product: prepopulate stored computed fields 2024-03-26 17:07:51 +01:00
Víctor Martínez
41582bf773 Translated using Weblate (Spanish)
Currently translated at 0.7% (2 of 261 strings)

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/es/
2024-03-26 17:07:51 +01:00
Víctor Martínez
7aaae17110 Added translation using Weblate (Spanish) 2024-03-26 17:07:51 +01:00
OCA Transbot
c88208badb 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/
2024-03-26 17:07:51 +01:00
OCA-git-bot
ec1fe33259 intrastat_product 14.0.1.6.1 2024-03-26 17:07:51 +01:00
oca-ci
5bee0a22ca [UPD] Update intrastat_product.pot 2024-03-26 17:07:51 +01:00
Luc De Meyer
09979cc3fa [14.0]fix stack trace when running module upgrade on 14.0.1.6.0 2024-03-26 17:07:51 +01:00
OCA Transbot
6c52215560 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/
2024-03-26 17:07:51 +01:00
OCA-git-bot
7e245ae37b intrastat_product 14.0.1.6.0 2024-03-26 17:07:51 +01:00
oca-ci
62883cf9b0 [UPD] Update intrastat_product.pot 2024-03-26 17:07:51 +01:00
Luc De Meyer
f858d93a7e [14.0]brexit support - size=2 on product_origin_country_code 2024-03-26 17:07:51 +01:00
Luc De Meyer
2396602d73 [14.0]brexit support - DeprecationWarning 2024-03-26 17:07:51 +01:00
OCA-git-bot
4e49325f14 intrastat_product 14.0.1.5.4 2024-03-26 17:07:51 +01:00
Luc De Meyer
6e0a3f01bc [14.0]brexit support - increase test coverage 2024-03-26 17:07:51 +01:00
Luc De Meyer
88c47f9e15 [14.0]improved brexit support - keep backwards compatibility with localisation modules 2024-03-26 17:07:51 +01:00
Luc De Meyer
902eb6d2f0 [14.0]intrastat - improved brexit support 2024-03-26 17:07:51 +01:00
Luc De Meyer
84923ae76d fix unit tests - keep product_origin_country_id on top of new product_origin_country_code to avoid breaking the localisation modules 2024-03-26 17:07:51 +01:00
Luc De Meyer
34fe107d42 [14.0] brexit support - fix pipeline 2024-03-26 17:07:51 +01:00
Luc De Meyer
cb36557f08 [14.0] brexit support - fix pipeline 2024-03-26 17:07:51 +01:00
Luc De Meyer
e374af7613 [14.0]intrastat_product - Intrastat Brexit support 2024-03-26 17:07:51 +01:00
Luc De Meyer
d59f20f56a [14.0]Intrastat Brexit support 2024-03-26 17:07:51 +01:00
OCA-git-bot
3bd7eba695 intrastat_product 14.0.1.5.3 2024-03-26 17:07:51 +01:00
Luc De Meyer
f799e98107 [14.0]intrastat_product - remove incorrect domain on comutation line 2024-03-26 17:07:51 +01:00
Denis Roussel
3e095bc389 [IMP] intrastat_product: Add read accesses to intrastat lines
As Sale and Purchase users have access to invoices, we need to allow them
to read intrastat move lines as present on invoices.
2024-03-26 17:07:51 +01:00
Denis Roussel
3cecab99bf [14.0][IMP] intrastat_product: Add read access to intrastat lines to accounting base user 2024-03-26 17:07:51 +01:00
Denis Roussel
57abf6bb4b [14.0][IMP] intrastat_product: Add codes in Excel report as required in some countries
In some countries, the imports are done through Excel imports.

They need the codes only in the columns.
2024-03-26 17:07:51 +01:00
Denis Roussel
7aa0718793 [14.0][IMP] intrastat_product: Add tests for Excel generation 2024-03-26 17:07:51 +01:00
Denis Roussel
c697b83a9e Updated from template 2024-03-26 17:07:51 +01:00
OCA-git-bot
bb5b5676d8 intrastat_product 14.0.1.5.2 2024-03-26 17:07:51 +01:00
OCA-git-bot
b4f940ae25 intrastat_product 14.0.1.5.1 2024-03-26 17:07:51 +01:00
Luc De Meyer
2e397be86b [14.0]intrastat_product - fix amount_company_currency 2024-03-26 17:07:51 +01:00