Commit Graph

5 Commits

Author SHA1 Message Date
Luc De Meyer
3da824f9c4 [MIG] intrastat_product: Migration to 13.0 2020-02-26 22:16:50 +01:00
Luc De Meyer
1853ece5b5 [MIG] intrastat_product: Migration to 11.0
* Small fixes in intrastat_base
* account_tax_template
2020-02-26 19:21:37 +01:00
Alexis de Lattre
997cfafd37 [MIG] intrastat_product: Migration to 10.0
intrastat_base: Move company view params to account config page
2020-02-26 19:21:36 +01:00
Alexis de Lattre
ccb100b7fb [IMP+FIX] intrastat_product: Several things:
* 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

* If rounded weight is 0, put 1

  Take into account the taxes for B2C
  Small code cleanup

* Remove field exclude_from_intrastat

  Re-organise view of intrastat.product.declaration

* Add option intrastat_accessory_costs on company

  Set more fields as invisible (localisation should put them visible if they need it)
  Fix handling of suppl. units when hs_code is empty on invoice line (but set on product)
  Small usability enhancements

* Include selection of type of invoice in search, for better perf

  Isolate domain in a _prepare method, for easier inheritance
  WARNING: I changed the default selection of invoice type ; adapt it in your localization m
  odule if necessary
  Add intrastat_transaction_in_refund for company (not needed for France, but may be needed elsewhere)
  Add a log when an invoice line is skipped

* Include product code in warning msg on weight

* Inspired by the PR https://github.com/akretion/account-financial-reporting/pull/8 of Luc de Meyer
2020-02-26 19:21:36 +01:00
Luc De Meyer
72c1c33f95 [IMP] intrastat_product: major update intrastat V3 modules
* add region to intrastat_product
2020-02-26 19:21:36 +01:00