summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-10-27 16:46:24 +0200
committerNicolas Martinelli <nim@odoo.com>2016-10-28 08:21:55 +0200
commite4762229ba6b7bca7c7725504d2d43e15fc38892 (patch)
tree704e82ddd5f40dcde9d4ed1ca62280bf6a2cdb8f /addons/web/static/lib/jquery.mjs.nestedSortable
parentdc62cd8e0083c7c4a26b950558ed5fdeeaf3c813 (diff)
[FIX] stock_account: valuation and costing method
In v9, the creation of a product doesn't set a `valuation` or a `cost_method` by default. It means that the corresponding fields of the product category is selected instead. In v10, this is the other way around: a default value is set on these fields, and therefore the value on the product is selected. This is obviously a change in behavior, and moreover the field is invisible in the product view, meaning that it cannot be changed. This is due to the new API conversion. In the new API, the methods `_compute_valuation_type` and `_compute_cost_method` are called through the 'onchange' mechanism. This sets the associated fields, which are then copied in their `property_` counterpart thanks to the inverse function. opw-691231
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions