Commit Graph

22 Commits

Author SHA1 Message Date
OCA-git-bot
a78669bb70 contract_variable_quantity 13.0.1.1.0 2021-01-04 10:44:48 +00:00
Víctor Martínez
d8dd093ee7 [IMP] contract_variable_quantity: Add qty_type field in portal 2021-01-04 09:03:59 +01:00
OCA-git-bot
bf5dcfade5 contract_variable_quantity 13.0.1.0.1 2020-10-28 12:38:40 +00:00
Carlos Roca
e103a1fa54 [MIG] contract_variable_quantity: Migration to v13 2020-10-28 12:48:42 +01:00
Carlos Roca
03f82ac325 [IMP] contract_variable_quantity: black, isort, prettier 2020-10-27 13:35:26 +01:00
Ernesto Tejeda
796b319dbe [IMP] contract: add section and notes in contract line 2020-10-27 13:33:07 +01:00
Pedro M. Baeza
0b7abba010 [IMP] contract: remove redundant method
I have detected a method that was created as redundant and with the same
technique used when preparing the line values, so better to have
everything together in the same method instead of having it spread.
2020-10-27 13:33:07 +01:00
Pedro M. Baeza
63cdbd67a9 [FIX] contract_variable_quantity: Allow to propagate variable qty fields from template
**Steps to reproduce the problem**

- Define a contract template with one line with variable quantity and formula.
- Use that template in a new contract.
- Variable quantity type and formula are not transferred from template to contract.

This is due to the lack of that fields in the tree view that prevents web client to fetch
and store them.

We solve it adding those fields to the contract line tree view, also providing some
visibility logic for not showing the corresponding fields according the type.

No regression tests is provided, as this is only reproducible with web client, not through
code.
2020-10-27 13:33:07 +01:00
sbejaoui
25c40cb217 [FIX] - redundant fields in contract line form view 2020-10-27 13:33:07 +01:00
sbejaoui
af5433dcf2 [12.0][REF] - Contract Variable quantity: split from analytic accoun 2020-10-27 13:33:07 +01:00
sbejaoui
caf7976d6c [REF] - Use method _get_quantity_to_invoice. 2020-10-27 13:33:07 +01:00
sbejaoui
e18f1f04da [IMP] - Adapt contract_variable_quantity to contract new views 2020-10-27 13:33:07 +01:00
sbejaoui
3d27d9daa2 [IMP] - Add ace-widget with python mode 2020-10-27 13:33:07 +01:00
sbejaoui
0a57ee93a7 [MIG] contract_variable_quantity: Migration to 12.0 2020-10-27 13:33:07 +01:00
Dmytro Katyukha
e8df3eb6cf Update addon versions
- contract
- contract_variable_quantity
2020-10-27 13:33:07 +01:00
Pedro M. Baeza
186d4a1419 [IMP] contract_variable_quantity: Recompute price when changing qty
If you have contract lines with automatic price and your pricelist
contains different prices per quantity, the price is not changed
when computing quantity.

This PR fixes this.
2020-10-27 13:33:07 +01:00
Pedro M. Baeza
378c6c408b [IMP] contract_variable_quantity: Make name translatable 2020-10-27 13:33:07 +01:00
Carlos Dauden
295c7c1ee7 [IMP] contract_variable_quantity: Add option to don't create zero qty invoice lines 2020-10-27 13:33:07 +01:00
Carlos Dauden
fef699a9ed [MIG] contract_variable_quantity: Migration to 11.0 2020-10-27 13:33:07 +01:00
Dave Lasley
b471266ab1 [10.0][IMP] Add variable qty to contract template view (#66)
* [IMP] Add variable qty to contract template view

* Bump minor version
2020-10-27 13:33:07 +01:00
Dave Lasley
04ea45a067 [MIG] contract_variable_quantity: Migrate to v10
* Bump version
* Change openerp references to odoo
* Installable to True
* Change permissions & views to accounting dependency
2020-10-27 13:33:07 +01:00
Pedro M. Baeza
848b435d7e [MIG] Rename manifest files 2020-10-27 13:33:07 +01:00