Commit Graph

241 Commits

Author SHA1 Message Date
OCA-git-bot
125592bbcd intrastat_product 14.0.1.5.3 2023-03-06 10:11:07 +01:00
Luc De Meyer
699989d9dd [14.0]intrastat_product - remove incorrect domain on comutation line 2023-03-06 10:11:07 +01:00
Denis Roussel
f674b9ca01 [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.
2023-03-06 10:11:07 +01:00
Denis Roussel
b1abf7bf42 [14.0][IMP] intrastat_product: Add read access to intrastat lines to accounting base user 2023-03-06 10:11:07 +01:00
Denis Roussel
8f4d7b56a7 [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.
2023-03-06 10:11:07 +01:00
Denis Roussel
8303f39d8e [14.0][IMP] intrastat_product: Add tests for Excel generation 2023-03-06 10:11:07 +01:00
Denis Roussel
61cb956461 Updated from template 2023-03-06 10:11:07 +01:00
OCA-git-bot
3052964adc intrastat_product 14.0.1.5.2 2023-03-06 10:11:07 +01:00
OCA-git-bot
1ff480c63c intrastat_product 14.0.1.5.1 2023-03-06 10:11:07 +01:00
Luc De Meyer
8f3bfdf886 [14.0]intrastat_product - fix amount_company_currency 2023-03-06 10:11:07 +01:00
OCA Transbot
5edd06c88e 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
e16e89f0c8 intrastat_product 14.0.1.5.0 2023-03-06 10:11:07 +01:00
OCA-git-bot
ecc0b9c717 [UPD] README.rst 2023-03-06 10:11:07 +01:00
oca-travis
7225d67022 [UPD] Update intrastat_product.pot 2023-03-06 10:11:07 +01:00
Luc De Meyer
a4b666b5fe [14.0][FIX]intrastat_product_declaration - fix amount by removing legacy currency conversion 2023-03-06 10:11:07 +01:00
Luc De Meyer
d2536fa2b9 [13.0][FIX]intrastat_product_declaration - fix amount by removing legacy currency conversion 2023-03-06 10:11:07 +01:00
Denis Roussel
fdef111e76 [IMP] intrastat_product: Fix pre-commit 2023-03-06 10:11:07 +01:00
Alexis de Lattre
aecf24f99f intrastat_base: Remove intrastat.common class 2023-03-06 10:11:07 +01:00
Denis Roussel
2c384b6761 [14.0][IMP] intrastat_product: Add product country of origin in declaration 2023-03-06 10:11:07 +01:00
Denis Roussel
1ff133accd [IMP] intrastat_product: Better tests data 2023-03-06 10:11:07 +01:00
OCA-git-bot
cfc63145ec intrastat_product 14.0.1.4.1 2023-03-06 10:11:07 +01:00
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