Commit Graph

220 Commits

Author SHA1 Message Date
Luc De Meyer
7af4be6d4e cherry-pick of https://github.com/OCA/intrastat-extrastat/pull/151 2023-03-06 10:11:07 +01:00
OCA-git-bot
bd10d6249c intrastat_product 14.0.1.4.0 2023-03-06 10:11:07 +01:00
Denis Roussel
50f0dfde70 [14.0][IMP] intrastat_product: Add hook for test values 2023-03-06 10:11:07 +01:00
Denis Roussel
56f02a064c [14.0][IMP] intrastat_product: Test declaration copy 2023-03-06 10:11:07 +01:00
Denis Roussel
ef2234f2c1 [14.0][IMP] intrastat_product: Add test for purchase lines 2023-03-06 10:11:07 +01:00
Denis Roussel
1890514ff4 [14.0][IMP] intrastat_product: Add test for declaration line values 2023-03-06 10:11:07 +01:00
Denis Roussel
cc34811057 [14.0][IMP] intrastat_*: Add tests for base and for sale flows 2023-03-06 10:11:07 +01:00
Denis Roussel
c046deb96b [14.0][IMP] intrastat_*: CONTRIBUTORS.rst 2023-03-06 10:11:07 +01:00
Denis Roussel
ff53680596 [14.0][IMP] intrastat_*: Improve tests and code 2023-03-06 10:11:07 +01:00
Denis Roussel
13a1f967c3 [14.0][IMP] intrastat_product: Improve lines display 2023-03-06 10:11:07 +01:00
OCA-git-bot
9fd75bf72d intrastat_product 14.0.1.3.0 2023-03-06 10:11:07 +01:00
OCA Transbot
7823746af2 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:07 +01:00
OCA-git-bot
d5d060598f intrastat_product 14.0.1.2.0 2023-03-06 10:11:07 +01:00
oca-travis
0069acd1cc [UPD] Update intrastat_product.pot 2023-03-06 10:11:07 +01:00
Víctor Martínez
6dca55d088 [IMP] intrastat_product: Add active field to transactions.
TT30682
2023-03-06 10:11:07 +01:00
Alexis de Lattre
887f0a21e3 Translated using Weblate (French)
Currently translated at 87.1% (211 of 242 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/fr/
2023-03-06 10:11:07 +01:00
Alexis de Lattre
ebb2f638d3 Translated using Weblate (French)
Currently translated at 73.1% (177 of 242 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/fr/
2023-03-06 10:11:07 +01:00
Alexis de Lattre
2e39f5749e intrastat_product: improve tree view of declaration 2023-03-06 10:11:07 +01:00
OCA-git-bot
c243e18320 intrastat_product 14.0.1.1.0 2023-03-06 10:11:07 +01:00
João Marques
1de11ec569 [FIX] intrastat_product: don't force wrong domain in moves
The intrastat transaction domain is already forced in the model and in the field in account.move.
It was being incorrectly forced in the move, where it needed to be associated to the same company as the record, but those types can have no company associated

TT29582
2023-03-06 10:11:07 +01:00
OCA-git-bot
454087d851 intrastat_product 14.0.1.0.1 2023-03-06 10:11:07 +01:00
OCA-git-bot
1311a9aec0 [UPD] README.rst 2023-03-06 10:11:07 +01:00
João Marques
5033ee88a0 [FIX] intrastat_product: Missed changes in migration
Change back from invoice.type to invoice.move_type
Update method signature and calls after the refactor in "intrastat.product.declaration"
Add some docs to explain the functionality that leads to this part of the code.

TT28080
2023-03-06 10:11:07 +01:00
OCA-git-bot
5b4a38c01b [UPD] README.rst 2023-03-06 10:11:07 +01:00
oca-travis
37d855f46a [UPD] Update intrastat_product.pot 2023-03-06 10:11:07 +01:00
João Marques
afa3ec40d8 [IMP] intrastat_product: add support for Brexit + small performance improvement + remove universal hs_code constaint
Add support for post-Brexit VAT numbers with latest python-stdnum version
Remove use of country_id.intrastat
Add 'vat' field on computation and declaration lines with a simple validity check
Add 'partner_id' field on computation lines
Prevent back to draft when an XML export is present
Remove the universal constaint applied to the hs_codes for countries in the "Europe" list, as discussed in https://github.com/OCA/intrastat-extrastat/pull/116#discussion_r569735555

Co-authored-by: Alexis de Lattre <alexis.delattre@akretion.com>
2023-03-06 10:11:07 +01:00
João Marques
f9c4f8b77f [MIG] intrastat_product: Migration to 14.0
Rename field type to declaration_type
Use the new intrastat boolean of fiscal position, following issue #110

Co-authored-by: Alexis de Lattre <alexis.delattre@akretion.com>
2023-03-06 10:11:07 +01:00
Luc De Meyer
92ad0a60f6 [13.0]invoice_date -> date 2023-03-06 10:11:07 +01:00
mreficent
ede48bc225 [FIX] Migration fixes + full migration scripts 2023-03-06 10:11:07 +01:00
Luc De Meyer
3af84f829c refactor code to allow adding transaction details while encoding invoices 2023-03-06 10:11:07 +01:00
Luc De Meyer
b8f06a3b49 [13.0]fix stack trace when entering invoice line without product 2023-03-06 10:11:07 +01:00
Alexis de Lattre
258438861f intrastat_product: Add xml_attachment_id field
intrastat_product: add mail.activity.mixin and widget in form view
product_harmonized_system: remove archive button (use Action menu)
All modules:
- use super() instead of super(class, self)
- Update domain_force in multi-company ir.rule to v13 standard
2023-03-06 10:11:07 +01:00
Luc De Meyer
87955e8ad1 [13.0][FIX]invoice line hs code 2023-03-06 10:11:07 +01:00
Benjamin Henquet
45b4417ac6 [13.0][FIX] 'number' for invoice does not exist anymore the account.move has attribute 'name' 2023-03-06 10:11:07 +01:00
Luc De Meyer
d1efd64dbb [MIG] intrastat_product: Migration to 13.0 2023-03-06 10:11:07 +01:00
Stéphane Bidoul (ACSONE)
104766143d [FIX] intrastat_product USAGE.rst title level 2023-03-06 10:11:07 +01:00
Luc De Meyer
4f5226fea1 [12.0][FIX]fix name_get on intrastat.transaction (#73) 2023-03-06 10:11:07 +01:00
Daniel Duque
53242b4611 [FIX] Translations in intrastat_product 2023-03-06 10:11:07 +01:00
Luc De Meyer
ee0db4e62f flake8 2023-03-06 10:11:07 +01:00
Alexis de Lattre
63c59e2dfa [MIG] Migrate all modules from v11 to v12 2023-03-06 10:11:07 +01:00
Alexis de Lattre
1cc41d196f Prepare v12 branch 2023-03-06 10:11:07 +01:00
Pedro M. Baeza
69681899f0 [FIX] intrastat_product: Fix duplicated msgid string 2023-03-06 10:11:07 +01:00
Luc De Meyer
8a6a459bc9 [MIG] intrastat_product: Migration to 11.0
* Small fixes in intrastat_base
* account_tax_template
2023-03-06 10:11:07 +01:00
Alexis de Lattre
1b751636b3 [FIX+IMP] intrastat_*: Several things:
* Add readonly on some fields when state of declaration is done
* Division by zero in computation of accessory costs
* Add FR translation
* Fix strings
* Minor code updates
2023-03-06 10:11:07 +01:00
Alexis de Lattre
c850a62a26 Add new module product_harmonized_system_delivery (hide native hs_code field)
Finalize port to v11
2023-03-06 10:11:07 +01:00
luc.demeyer@noviat.com
c8b6484385 [FIX+IMP] intrastat_product: reporting level + move methods to IntrastatProductDeclaration class 2023-03-06 10:11:07 +01:00
luc.demeyer@noviat.com
334a41057e [10.0][FIX]get_hs_code_recursively on product.template 2023-03-06 10:11:07 +01:00
Alexis de Lattre
28b0d4cea3 |FIX] Broken intrastat decl form view (was borken when you did NOT have web_sheet_full_width) 2023-03-06 10:11:07 +01:00
Kumar Aberer
b3c87a3248 [MIG] intrastat_product: Migration to 11.0 2023-03-06 10:11:07 +01:00
Przemek Kaminski
b97b03f61c res_company: fix intrastat_dispatches selection function 2023-03-06 10:11:07 +01:00