summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/thread.xml
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2015-11-20 11:18:09 -0800
committerNicolas Martinelli <nim@odoo.com>2015-11-26 09:57:55 +0100
commit2f0135c8206c8cc3e97677987f707af3be8f84b9 (patch)
tree930ac172368f97b5d559d992e9ae363e98482b4a /addons/mail/static/src/xml/thread.xml
parentfd56268c6ca4e8a6f94f16de9129bd12be87303f (diff)
[FIX] product: resets fields
applied_on: The field applied_on in pricelist rules is not taken into account: - In the price computation - In the name computation When creating a pricelist item, if you select (applied_on = Product) first and set a product, then select (applied_on = Global), and save the rule, the computation will still take the product_tmpl_id in the price computation. Instead of fixing the whole _price_rule_get_multi method, this patch sets the fields that should not be taken into account to False. compute_price: Add a behavior similar to the applied_on field, to reset unnecessary fields to zero when the computation method is changed. Original idea from @tgr-odoo opw-657148 Closes #9671
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
0 files changed, 0 insertions, 0 deletions