Merge branch '14.0' of github.com:OCA/intrastat-extrastat into 14.0

This commit is contained in:
Luc De Meyer
2021-12-31 17:16:49 +01:00
3 changed files with 4 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ Available addons
addon | version | maintainers | summary addon | version | maintainers | summary
--- | --- | --- | --- --- | --- | --- | ---
[intrastat_base](intrastat_base/) | 14.0.2.1.0 | | Base module for Intrastat reporting [intrastat_base](intrastat_base/) | 14.0.2.1.0 | | Base module for Intrastat reporting
[intrastat_product](intrastat_product/) | 14.0.1.5.0 | | Base module for Intrastat Product [intrastat_product](intrastat_product/) | 14.0.1.5.1 | | Base module for Intrastat Product
[intrastat_product_generic](intrastat_product_generic/) | 14.0.1.0.0 | | Generic Intrastat Product Declaration [intrastat_product_generic](intrastat_product_generic/) | 14.0.1.0.0 | | Generic Intrastat Product Declaration
[product_harmonized_system](product_harmonized_system/) | 14.0.2.0.0 | [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) [![luc-demeyer](https://github.com/luc-demeyer.png?size=30px)](https://github.com/luc-demeyer) | Base module for Product Import/Export reports [product_harmonized_system](product_harmonized_system/) | 14.0.2.0.0 | [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) [![luc-demeyer](https://github.com/luc-demeyer.png?size=30px)](https://github.com/luc-demeyer) | Base module for Product Import/Export reports
[product_harmonized_system_delivery](product_harmonized_system_delivery/) | 14.0.1.1.0 | [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) [![luc-demeyer](https://github.com/luc-demeyer.png?size=30px)](https://github.com/luc-demeyer) | Hide native hs_code field provided by the delivery module [product_harmonized_system_delivery](product_harmonized_system_delivery/) | 14.0.1.1.0 | [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) [![luc-demeyer](https://github.com/luc-demeyer.png?size=30px)](https://github.com/luc-demeyer) | Hide native hs_code field provided by the delivery module

View File

@@ -7,7 +7,7 @@
{ {
"name": "Intrastat Product", "name": "Intrastat Product",
"version": "14.0.1.5.0", "version": "14.0.1.5.1",
"category": "Intrastat", "category": "Intrastat",
"license": "AGPL-3", "license": "AGPL-3",
"summary": "Base module for Intrastat Product", "summary": "Base module for Intrastat Product",

View File

@@ -700,7 +700,8 @@ class IntrastatProductDeclaration(models.Model):
) )
total_inv_weight += weight total_inv_weight += weight
amount_company_currency = -inv_line.balance sign = invoice.move_type in ("in_invoice", "out_refund") and 1 or -1
amount_company_currency = sign * inv_line.balance
total_inv_product_cc += amount_company_currency total_inv_product_cc += amount_company_currency
if inv_intrastat_line: if inv_intrastat_line: