Commit Graph

275 Commits

Author SHA1 Message Date
Guillaume MASSON
b2800a2032 [FIX] intrastat_product : uom_id in intrastat unit form view shouldn't be required
Fixes OCA/intrastat-extrastat#223
2024-03-26 17:07:51 +01:00
Guillaume MASSON
9604c108fb [FIX] intrastat_product : properly initialize notedict before calling _get_weight_and_supplunits
fixes OCA/intrastat-extrastat#224
2024-03-26 17:07:51 +01:00
Ivorra78
18a47d89ad Translated using Weblate (Spanish)
Currently translated at 100.0% (256 of 256 strings)

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-intrastat_product
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-intrastat_product/es/
2024-03-26 17:07:51 +01:00
Weblate
bb2aaacd47 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_product
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-intrastat_product/
2024-03-26 17:07:51 +01:00
OCA-git-bot
9c031e4b45 intrastat_product 16.0.1.1.0 2024-03-26 17:07:51 +01:00
oca-ci
78a8e3a32e [UPD] Update intrastat_product.pot 2024-03-26 17:07:51 +01:00
Alexis de Lattre
a3ea5d188a Translated using Weblate (French)
Currently translated at 100.0% (258 of 258 strings)

Translation: intrastat-extrastat-16.0/intrastat-extrastat-16.0-intrastat_product
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-intrastat_product/fr/
2024-03-26 17:07:51 +01:00
Alexis de Lattre
1630ba6e19 intrastat_product: fix strings 2024-03-26 17:07:51 +01:00
Weblate
a45c44c353 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_product
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-16-0/intrastat-extrastat-16-0-intrastat_product/
2024-03-26 17:07:51 +01:00
OCA-git-bot
a584300759 [UPD] README.rst 2024-03-26 17:07:51 +01:00
oca-ci
63de877187 [UPD] Update intrastat_product.pot 2024-03-26 17:07:51 +01:00
Alexis de Lattre
4c08be7bde 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.
2024-03-26 17:07:51 +01:00
Alexis de Lattre
c6fe5c7611 [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
2024-03-26 17:07:51 +01:00
Alexis de Lattre
f15ec4ed44 intrastat_product: Backport updates from v15
Make tests work
2024-03-26 17:07:51 +01:00
Alexis de Lattre
6c201298fa 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
2024-03-26 17:07:51 +01:00
Alexis de Lattre
82ea30d1bd intrastat_product: Improve warning message on intrastat transaction 2024-03-26 17:07:51 +01:00
Alexis de Lattre
9948e158f5 intrastat_product: move res_config_settings.py to wizard subdir 2024-03-26 17:07:51 +01:00
Alexis de Lattre
f5e9150d2d 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
2024-03-26 17:07:51 +01:00
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