Commit Graph

72 Commits

Author SHA1 Message Date
Alexis de Lattre
1103db84fc [ADD] intrastat_product
Rename report.intrastat.product to l10n.fr.report.intrastat.product (same for service and for lines) + migration scripts

Rename field country_id to origin_country_id (TODO : write mig script) and move this field from l10n_fr_intrastat_product to intrastat_product

Move intrastat_code and uom_id of report.intrastat.code from l10n_fr_intrastat_product to intrastat_product, as discussed with Luc de Meyer

Use display_name instead of an inherit of name_get (better use of new API) Inherit write and create of intrastat codes to remove spaces (patch by Luc De Meyer from Noviat) Add O2M fields from intrastat code to products and product categs
2021-02-08 14:27:58 +00:00
OCA Transbot
e5c91e858b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: intrastat-extrastat-14.0/intrastat-extrastat-14.0-product_harmonized_system
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-14-0/intrastat-extrastat-14-0-product_harmonized_system/
2021-02-01 10:30:53 +00:00
OCA Transbot
175cfe4965 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_base
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-14-0/intrastat-extrastat-14-0-intrastat_base/
2021-02-01 10:30:53 +00:00
OCA-git-bot
5230b12fb0 [UPD] addons table in README.md 2021-02-01 10:30:43 +00:00
OCA-git-bot
ecb70de859 intrastat_base 14.0.2.0.0 2021-02-01 10:30:33 +00:00
OCA-git-bot
be304e1786 [UPD] README.rst 2021-02-01 10:30:33 +00:00
oca-travis
605818de8f [UPD] Update product_harmonized_system.pot 2021-02-01 10:17:27 +00:00
oca-travis
b915efd88d [UPD] Update intrastat_base.pot 2021-02-01 10:17:27 +00:00
OCA-git-bot
43814b4029 Merge PR #115 into 14.0
Signed-off-by pedrobaeza
2021-02-01 10:12:11 +00:00
OCA-git-bot
376acd1bab [ADD] setup.py 2021-01-25 11:00:33 +00:00
OCA-git-bot
f6cdc4b6b5 [UPD] README.rst 2021-01-25 11:00:32 +00:00
OCA-git-bot
b6d28f906a [UPD] addons table in README.md 2021-01-25 11:00:31 +00:00
Alexis de Lattre
c4b149d33a Merge pull request #108 from akretion/14-mig-product_harmonized_system
[14.0][MIG] product_harmonized_system
2021-01-25 12:00:16 +01:00
Alexis de Lattre
2c5cbe655d intrastat_base: update USAGE.rst 2021-01-24 22:14:00 +01:00
Alexis de Lattre
b7ba7f7f51 Remove intrastat from res.country
Remove useless code from intrastat.common
2021-01-22 18:01:18 +01:00
Alexis de Lattre
1db800dac2 Add related field intrastat_fiscal_position on account.move 2021-01-05 23:42:48 +01:00
Alexis de Lattre
960f22ba52 intrastat_base: use fiscal position, following suggestion on issue #110
Improve layout of config page
2021-01-05 16:16:36 +01:00
oca-git-bot
2a51d6ffee [IMP] update dotfiles [ci skip] 2020-12-11 19:45:30 +01:00
Alexis de Lattre
ed0ee879b0 [MIG] product_harmonized_system to v14 2020-11-19 18:49:45 +01:00
Alexis de Lattre
fbd1913eee 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
2020-11-19 17:46:48 +01:00
OCA-git-bot
c9137b116b pre-commit update 2020-11-19 17:46:48 +01:00
OCA-git-bot
7ebef63daa product_harmonized_system 13.0.1.0.1 2020-11-19 17:46:48 +01:00
Luc De Meyer
09c2717e44 [13.0][FIX]replace deprecated _company_default_get 2020-11-19 17:46:48 +01:00
OCA Transbot
6aa93db78f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: intrastat-extrastat-13.0/intrastat-extrastat-13.0-product_harmonized_system
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-13-0/intrastat-extrastat-13-0-product_harmonized_system/
2020-11-19 17:46:48 +01:00
oca-travis
b7aabe1dbd [UPD] Update product_harmonized_system.pot 2020-11-19 17:46:48 +01:00
OCA-git-bot
616b433869 [UPD] README.rst 2020-11-19 17:46:48 +01:00
BenjaHe
4b0275018c [13.0] [MIG] product harmonized system (#80)
* Large code re-engineering following the Akretion-Noviat code sprint on intrastat

This code has been written both by Luc de Meyer and myself.

* hs_code display_name fix

* major update intrastat V3 modules

* Add product_origin_country_id on declaration/computation lines

Copy incoterms and destination country from SO to invoice when invoicing from SO
We need weight even when supplementary units is used
Small cleanups and enhancements

* Add support for accessory costs

Add default values for intrastat transaction on company
Code cleanup

* this week's ci errors

* Update README.rst

Rename variables

* Port intrastat_base to v10

Set 2 other modules to uninstallable
Update README.rst: switch to new intrastat project

* Port product_harmonized_system to v10

* Fix warning on display_name

Special thanks to Pedro and Holger for finding the solution for display_name
Fix demo data

* [MIG] product_harmonized_system: Migration to 11.0

* [FIX] product_harmonized_system: fix get_hs_code_recurively

* [IMP] *: removed utf-8 headers, changed icon and site

* company model test, country model test as in v8
* png logo instead of svg, removed Python 2 utf-8 headers

* [UPD] Update product_harmonized_system.pot

* Add new module product_harmonized_system_delivery (hide native hs_code field)

Finalize port to v11

* [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

* [MIG] intrastat_product: Migration to 11.0

* Small fixes in intrastat_base
* account_tax_template

* [ADD] icon.png

* [UPD] Update product_harmonized_system.pot

* Prepare v12 branch

* [MIG] Migrate all modules from v11 to v12

* flake8

* [UPD] Update product_harmonized_system.pot

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: intrastat-extrastat-12.0/intrastat-extrastat-12.0-product_harmonized_system
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-12-0/intrastat-extrastat-12-0-product_harmonized_system/

* [FIX] product_harmized_system DESCRIPTION.rst

* [UPD] README.rst

* [UPD] README.rst

* Added translation using Weblate (Spanish)

* Translated using Weblate (Spanish)

Currently translated at 50.0% (18 of 36 strings)

Translation: intrastat-extrastat-12.0/intrastat-extrastat-12.0-product_harmonized_system
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-12-0/intrastat-extrastat-12-0-product_harmonized_system/es/

* [MIG] product_harmonized_system : Migration to 13.0

* [IMP] product_harmonized_system: black, isort
2020-11-19 17:46:48 +01:00
OCA-git-bot
c024504ebb [ADD] setup.py 2020-11-19 16:45:00 +00:00
OCA-git-bot
b764bacba6 [UPD] README.rst 2020-11-19 16:45:00 +00:00
OCA-git-bot
5ef319e8fb [UPD] addons table in README.md 2020-11-19 16:44:59 +00:00
Alexis de Lattre
b70a906309 Merge pull request #105 from akretion/14-mig-intrastat_base
[14.0][MIG] intrastat_base
2020-11-19 17:44:40 +01:00
oca-git-bot
e155346520 [IMP] update dotfiles [ci skip] 2020-11-01 21:54:20 +01:00
Alexis de Lattre
ef04b29cd9 intrastat_base: remove methods in intrastat.common that are not useful any more
Rename variables to avoid misunderstanding between string and bytes
2020-10-15 00:51:36 +02:00
Alexis de Lattre
b03b74ad7b [MIG] intrastat_base from v13 to v14
Up-port PR #98
2020-10-14 22:22:07 +02:00
OCA Transbot
821fd1f3a8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: intrastat-extrastat-13.0/intrastat-extrastat-13.0-intrastat_base
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-13-0/intrastat-extrastat-13-0-intrastat_base/
2020-10-14 10:05:34 +02:00
Alexis de Lattre
aa79b94031 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
2020-10-14 10:05:34 +02:00
OCA-git-bot
a75f7782ee pre-commit update 2020-10-14 10:05:34 +02:00
OCA-git-bot
f14e147173 intrastat_base 13.0.1.1.0 2020-10-14 10:05:34 +02:00
Luc De Meyer
83f40fb5da [13.0][FIX]attach_xml_file 2020-10-14 10:05:34 +02:00
Luc De Meyer
0b77605080 [MIG] intrastat_product: Migration to 13.0 2020-10-14 10:05:34 +02:00
OCA Transbot
5fb08c862d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: intrastat-extrastat-13.0/intrastat-extrastat-13.0-intrastat_base
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-13-0/intrastat-extrastat-13-0-intrastat_base/
2020-10-14 10:05:34 +02:00
OCA-git-bot
c4eb2a3df2 [UPD] README.rst 2020-10-14 10:05:34 +02:00
oca-travis
62ee3e5bef [UPD] Update intrastat_base.pot 2020-10-14 10:05:34 +02:00
Luc De Meyer
5d9212399a pre-commit 2020-10-14 10:05:34 +02:00
Luc De Meyer
3d58bc2f90 [MIG] intrastat_base: Migration to 13.0 2020-10-14 10:05:34 +02:00
OCA Transbot
6a6bdb8fea Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: intrastat-extrastat-12.0/intrastat-extrastat-12.0-intrastat_base
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-12-0/intrastat-extrastat-12-0-intrastat_base/

[UPD] README.rst

[UPD] README.rst
2020-10-14 10:05:34 +02:00
Alexis de Lattre
bf1c3be0c6 [MIG] Migrate all modules from v11 to v12
[UPD] Update intrastat_base.pot
2020-10-14 10:05:34 +02:00
Alexis de Lattre
ca74737b47 Prepare v12 branch 2020-10-14 10:05:34 +02:00
OCA Transbot
5172343d23 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: intrastat-extrastat-11.0/intrastat-extrastat-11.0-intrastat_base
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-11-0/intrastat-extrastat-11-0-intrastat_base/
2020-10-14 10:05:34 +02:00
Luc De Meyer
ea11ddb9db [MIG] intrastat_product: Migration to 11.0
* Small fixes in intrastat_base
* account_tax_template

[UPD] Update intrastat_base.pot
2020-10-14 10:05:34 +02:00