Commit Graph

16 Commits

Author SHA1 Message Date
João Marques
2646dc489e [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>
2021-02-12 12:29:09 +00:00
João Marques
2d290b6700 [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>
2021-02-08 15:24:04 +00:00
Luc De Meyer
b2cd9f7b35 [13.0]invoice_date -> date 2021-02-08 15:24:04 +00:00
mreficent
bcb71216c0 [FIX] Migration fixes + full migration scripts 2021-02-08 15:24:04 +00:00
Luc De Meyer
5a4296a386 refactor code to allow adding transaction details while encoding invoices 2021-02-08 15:24:04 +00:00
Luc De Meyer
00ed38be3f [13.0]fix stack trace when entering invoice line without product 2021-02-08 15:24:04 +00:00
Alexis de Lattre
6aba251aee 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
2021-02-08 15:24:04 +00:00
Luc De Meyer
0ddc3a4c20 [13.0][FIX]invoice line hs code 2021-02-08 15:15:48 +00:00
Benjamin Henquet
cdfbc6bfc7 [13.0][FIX] 'number' for invoice does not exist anymore the account.move has attribute 'name' 2021-02-08 15:15:48 +00:00
Luc De Meyer
576c303023 [MIG] intrastat_product: Migration to 13.0 2021-02-08 15:15:48 +00:00
Alexis de Lattre
fb4032fac0 [MIG] Migrate all modules from v11 to v12 2021-02-08 14:27:58 +00:00
Alexis de Lattre
24f4161e5e Prepare v12 branch 2021-02-08 14:27:58 +00:00
Luc De Meyer
c33db334d7 [MIG] intrastat_product: Migration to 11.0
* Small fixes in intrastat_base
* account_tax_template
2021-02-08 14:27:58 +00:00
Kumar Aberer
f094100eae [MIG] intrastat_product: Migration to 11.0 2021-02-08 14:27:58 +00:00
cubells
61f7e5bdb9 [FIX] intrastat_product: state can be None 2021-02-08 14:27:58 +00:00
Alexis de Lattre
4bbb1d7cda [MIG] intrastat_product: Migration to 10.0
intrastat_base: Move company view params to account config page
2021-02-08 14:27:58 +00:00