summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/chat_window.js
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2016-02-02 13:17:02 +0100
committerDamien Bouvy <dbo@odoo.com>2016-02-02 14:23:09 +0100
commita7c664fb6cfce730309197fcb71bca4dc9a9084d (patch)
tree43469b014ef859900a7d3cb17a4bada9f990f08d /addons/mail/static/src/js/chat_window.js
parentfbd5fab238e85958da1e6a0f63a1c22de3ba17e9 (diff)
[FIX] website_quote: handling of uoms in _onchange_product_id
The condition self.uom_id != self.product_id.uom_id could actually never be met, since a few lines before you could read self.uom_id = product.product_tmpl_id.uom_id. From now on, simply check if the uom_id on the cached record is different from the one on the product and check the price using the pricelist (_compute_price does not take pricelists into account) with the wonderfully explicit with_context call.
Diffstat (limited to 'addons/mail/static/src/js/chat_window.js')
0 files changed, 0 insertions, 0 deletions