summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.contentMenu.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2016-11-24 11:28:28 +0100
committerDenis Ledoux <dle@odoo.com>2016-11-24 11:33:38 +0100
commitcf98d58f8818ba52552ac09fe9cd7757cb746368 (patch)
treeb66f18ec423e78c568e7c116d52d9bb0cf19ffb3 /addons/website/static/src/js/website.contentMenu.js
parent46c5db095af77bd61c883c6af5f801da4da1d9da (diff)
[FIX] *: fix `product.uom`.`_compute_price` method calls
During the conversion to the new api, the method `product.uom`.`_compute_price` has had its signature changed. Formerly, it was: `def _compute_price(self, cr, uid, from_uom_id, price, to_uom_id=False):` Now, it is: `def _compute_price(self, price, to_unit):` Basically: - the first argument `from_uom_id` is removed, and you now should call this method from the model record directly - the last argument is no longer a kwargs Some calls to this method were still done the former way: - Some have been added during forward ports - Some are oversights when this method has been converted to the new api This revision corrects the calls that were still done the former way to the new way. opw-694871
Diffstat (limited to 'addons/website/static/src/js/website.contentMenu.js')
0 files changed, 0 insertions, 0 deletions