Commit Graph

178 Commits

Author SHA1 Message Date
OCA-git-bot
45bc2261ae [UPD] addons table in README.md 2022-09-12 10:46:57 +00:00
oca-ci
a8823173d6 [UPD] Update intrastat_product.pot 2022-09-12 10:43:49 +00:00
OCA-git-bot
f434465876 Merge PR #187 into 15.0
Signed-off-by pedrobaeza
2022-09-12 10:40:42 +00:00
Alexis de Lattre
9317532a5e [MIG] intrastat_product: Migration to 15.0
TT36959
2022-09-12 12:35:47 +02:00
Víctor Martínez
58dcaca049 [IMP] intrastat_product: black, isort, prettier 2022-09-12 12:35:47 +02:00
Víctor Martínez
03481c6935 [IMP] intrastat_product: Skip invoices according to partner country
Accidentally removed in 2646dc489e

TT38922

intrastat_product 14.0.2.0.1
2022-09-12 12:35:45 +02:00
Víctor Martínez
c19b431029 [IMP] intrastat_product: Add an Intrastat summary in the invoice report.
TT37168

[UPD] Update intrastat_product.pot

[UPD] README.rst

intrastat_product 14.0.2.0.0

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/
2022-09-12 12:35:44 +02:00
Stefan Rijnhart
fe3c1bc401 [FIX] intrastat_product: typo in filename
intrastat_product 14.0.1.6.2
2022-09-12 12:35:43 +02:00
Stefan Rijnhart
ba70ead677 [IMP] intrastat_product: prepopulate stored computed fields 2022-09-12 12:35:43 +02:00
Víctor Martínez
fad65bad08 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/
2022-09-12 12:35:43 +02:00
Víctor Martínez
b3b1dea8fa Added translation using Weblate (Spanish) 2022-09-12 12:35:43 +02:00
Luc De Meyer
6a1e3c0e2b [14.0]fix stack trace when running module upgrade on 14.0.1.6.0
[UPD] Update intrastat_product.pot

intrastat_product 14.0.1.6.1

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/
2022-09-12 12:35:42 +02:00
Luc De Meyer
00e70f01a2 [14.0]brexit support - size=2 on product_origin_country_code
[UPD] Update intrastat_product.pot

intrastat_product 14.0.1.6.0

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/
2022-09-12 12:35:40 +02:00
Luc De Meyer
f9f33c22f5 [14.0]brexit support - DeprecationWarning 2022-09-12 12:35:40 +02:00
Luc De Meyer
f34a60e725 [14.0]brexit support - increase test coverage
intrastat_product 14.0.1.5.4
2022-09-12 12:35:39 +02:00
Luc De Meyer
7db852c32d [14.0]improved brexit support - keep backwards compatibility with localisation modules 2022-09-12 12:35:39 +02:00
Luc De Meyer
179f0289d1 [14.0]intrastat - improved brexit support 2022-09-12 12:35:39 +02:00
Luc De Meyer
6f56198dba fix unit tests - keep product_origin_country_id on top of new product_origin_country_code to avoid breaking the localisation modules 2022-09-12 12:35:39 +02:00
Luc De Meyer
03aee49e33 [14.0] brexit support - fix pipeline 2022-09-12 12:35:39 +02:00
Luc De Meyer
428daba916 [14.0] brexit support - fix pipeline 2022-09-12 12:35:39 +02:00
Luc De Meyer
ecf4ca4a90 [14.0]intrastat_product - Intrastat Brexit support 2022-09-12 12:35:39 +02:00
Luc De Meyer
73f2d5e7ee [14.0]Intrastat Brexit support 2022-09-12 12:35:39 +02:00
Luc De Meyer
411f3395d8 [14.0]intrastat_product - remove incorrect domain on comutation line
intrastat_product 14.0.1.5.3
2022-09-12 12:35:38 +02:00
Denis Roussel
2b9d8e9b69 [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.
2022-09-12 12:35:38 +02:00
Denis Roussel
605fb95ff1 [14.0][IMP] intrastat_product: Add read access to intrastat lines to accounting base user 2022-09-12 12:35:38 +02:00
Denis Roussel
b4a904cdf2 Updated from template 2022-09-12 12:35:38 +02:00
Luc De Meyer
69cc34f84e [14.0]intrastat_product - fix amount_company_currency
intrastat_product 14.0.1.5.1

intrastat_product 14.0.1.5.2
2022-09-12 12:35:36 +02:00
Luc De Meyer
69bb037dcd [14.0][FIX]intrastat_product_declaration - fix amount by removing legacy currency conversion
[UPD] Update intrastat_product.pot

[UPD] README.rst

intrastat_product 14.0.1.5.0

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/
2022-09-12 12:35:35 +02:00
Luc De Meyer
cd9cc1a0dc [13.0][FIX]intrastat_product_declaration - fix amount by removing legacy currency conversion 2022-09-12 12:35:34 +02:00
Denis Roussel
058dc1b7dc [IMP] intrastat_product: Fix pre-commit 2022-09-12 12:35:34 +02:00
Alexis de Lattre
b61a1b76c8 intrastat_base: Remove intrastat.common class 2022-09-12 12:35:34 +02:00
Denis Roussel
7633f7ab70 [14.0][IMP] intrastat_product: Add product country of origin in declaration 2022-09-12 12:35:34 +02:00
Denis Roussel
321aad4eff [IMP] intrastat_product: Better tests data 2022-09-12 12:35:34 +02:00
Luc De Meyer
3abf5c6811 cherry-pick of https://github.com/OCA/intrastat-extrastat/pull/151
intrastat_product 14.0.1.4.1
2022-09-12 12:35:33 +02:00
Denis Roussel
7e6e7226d5 [14.0][IMP] intrastat_product: Add hook for test values
intrastat_product 14.0.1.4.0
2022-09-12 12:35:31 +02:00
Denis Roussel
afcb5530f8 [14.0][IMP] intrastat_product: Test declaration copy 2022-09-12 12:35:31 +02:00
Denis Roussel
aae456eb03 [14.0][IMP] intrastat_product: Add test for purchase lines 2022-09-12 12:35:31 +02:00
Denis Roussel
6358cebae4 [14.0][IMP] intrastat_product: Add test for declaration line values 2022-09-12 12:35:31 +02:00
Denis Roussel
eb182d01c7 [14.0][IMP] intrastat_*: Add tests for base and for sale flows 2022-09-12 12:35:31 +02:00
Denis Roussel
6403211198 [14.0][IMP] intrastat_*: CONTRIBUTORS.rst 2022-09-12 12:35:31 +02:00
Denis Roussel
195c8350f8 [14.0][IMP] intrastat_*: Improve tests and code 2022-09-12 12:35:31 +02:00
Denis Roussel
0965016250 [14.0][IMP] intrastat_product: Improve lines display 2022-09-12 12:35:31 +02:00
Víctor Martínez
aef88e241a [IMP] intrastat_product: Add active field to transactions.
TT30682

[UPD] Update intrastat_product.pot

intrastat_product 14.0.1.2.0

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/

intrastat_product 14.0.1.3.0
2022-09-12 12:35:30 +02:00
Alexis de Lattre
88b37dd5e8 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/
2022-09-12 12:35:30 +02:00
Alexis de Lattre
929e987fff 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/
2022-09-12 12:35:30 +02:00
Alexis de Lattre
38c71aa28a intrastat_product: improve tree view of declaration 2022-09-12 12:35:30 +02:00
João Marques
9e9c965fe1 [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

intrastat_product 14.0.1.1.0
2022-09-12 12:35:29 +02:00
João Marques
4d3286c0b4 [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

[UPD] README.rst

intrastat_product 14.0.1.0.1
2022-09-12 12:35:27 +02:00
João Marques
5ccd0a5b8d [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>

[UPD] Update intrastat_product.pot

[UPD] README.rst
2022-09-12 12:35:25 +02:00
João Marques
d9cc54740d [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>
2022-09-12 12:31:34 +02:00