Commit Graph

158 Commits

Author SHA1 Message Date
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
Luc De Meyer
b04d0a254c [13.0]invoice_date -> date 2022-09-12 12:31:34 +02:00
mreficent
6c39ba1d4d [FIX] Migration fixes + full migration scripts 2022-09-12 12:31:34 +02:00
Luc De Meyer
4c1eab2655 refactor code to allow adding transaction details while encoding invoices 2022-09-12 12:31:34 +02:00
Luc De Meyer
36af315a89 [13.0]fix stack trace when entering invoice line without product 2022-09-12 12:31:34 +02:00
Alexis de Lattre
af985f782d 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
2022-09-12 12:31:34 +02:00
Luc De Meyer
4d13a7f550 [13.0][FIX]invoice line hs code 2022-09-12 12:31:34 +02:00
Benjamin Henquet
837df3ae57 [13.0][FIX] 'number' for invoice does not exist anymore the account.move has attribute 'name' 2022-09-12 12:31:34 +02:00
Luc De Meyer
f5735652da [MIG] intrastat_product: Migration to 13.0 2022-09-12 12:31:34 +02:00
Stéphane Bidoul (ACSONE)
6372c2a515 [FIX] intrastat_product USAGE.rst title level 2022-09-12 12:31:34 +02:00
Luc De Meyer
13dedcd9f0 [12.0][FIX]fix name_get on intrastat.transaction (#73) 2022-09-12 12:31:34 +02:00
Daniel Duque
814592b793 [FIX] Translations in intrastat_product 2022-09-12 12:31:34 +02:00
Luc De Meyer
523a2e1346 flake8 2022-09-12 12:31:34 +02:00
Alexis de Lattre
01248d513d [MIG] Migrate all modules from v11 to v12 2022-09-12 12:31:34 +02:00
Alexis de Lattre
41aaa3a655 Prepare v12 branch 2022-09-12 12:31:34 +02:00
Pedro M. Baeza
7fd2f0be51 [FIX] intrastat_product: Fix duplicated msgid string 2022-09-12 12:31:34 +02:00
Luc De Meyer
e87893db7d [MIG] intrastat_product: Migration to 11.0
* Small fixes in intrastat_base
* account_tax_template
2022-09-12 12:31:34 +02:00
Alexis de Lattre
6b3d994912 [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
2022-09-12 12:31:34 +02:00
Alexis de Lattre
d853e54cd2 Add new module product_harmonized_system_delivery (hide native hs_code field)
Finalize port to v11
2022-09-12 12:31:34 +02:00
luc.demeyer@noviat.com
ef575b82ad [FIX+IMP] intrastat_product: reporting level + move methods to IntrastatProductDeclaration class 2022-09-12 12:31:34 +02:00
luc.demeyer@noviat.com
5aa3649cad [10.0][FIX]get_hs_code_recursively on product.template 2022-09-12 12:31:34 +02:00