Commit Graph

291 Commits

Author SHA1 Message Date
oca-ci
276149fc2d [UPD] Update intrastat_product.pot 2024-03-26 17:07:51 +01:00
Víctor Martínez
602f278a02 [IMP] intrastat_product: Set translate=True to description field from transactions
In v16 the transactions in data have been added, it will now be necessary
that the localization modules do not add new ones, but it is also convenient
to display the corresponding text in each language.
2024-03-26 17:07:51 +01:00
OCA-git-bot
715677df22 [BOT] post-merge updates 2024-03-26 17:07:51 +01:00
Weblate
08c48b1d80 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-ci
49a9bb9ae9 [UPD] Update intrastat_product.pot 2024-03-26 17:07:51 +01:00
Víctor Martínez
99bcb567af [FIX] intrastat_product: Prevent error when adding transaction details on invoices
The exclude_from_invoice_tab field does not exist in v16
2024-03-26 17:07:51 +01:00
Weblate
09fb1577bd 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
Ivorra78
8b21769141 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
David Halgand
eec9829818 Translated using Weblate (French)
Currently translated at 97.2% (249 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/fr/
2024-03-26 17:07:51 +01:00
David Halgand
301ffaa987 Added translation using Weblate (French (Belgium)) 2024-03-26 17:07:51 +01:00
Ivorra78
acc4610904 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
e6295f45df 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
9fe45bc368 [UPD] README.rst 2024-03-26 17:07:51 +01:00
OCA-git-bot
8cb58a3c1a intrastat_product 16.0.1.2.1 2024-03-26 17:07:51 +01:00
OCA-git-bot
dbac9a15fa intrastat_product 16.0.1.2.0 2024-03-26 17:07:51 +01:00
oca-ci
ac5eb9f7ae [UPD] Update intrastat_product.pot 2024-03-26 17:07:51 +01:00
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