summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_renderer.js
diff options
context:
space:
mode:
authorMitali Patel <mpa@odoo.com>2018-08-30 12:56:49 +0530
committerGert Pellin <switch87@users.noreply.github.com>2018-08-30 09:26:49 +0200
commit5028da38736f7f3c4bf651779c0bfe39a31f91c1 (patch)
tree035bad3f00463b9c63ac6097f285e2ee69740e3f /addons/web/static/src/js/views/basic/basic_renderer.js
parente65c8826ef9969ee0c0416c8f5165525ee3f0809 (diff)
[FIX] website_sale: removing compute_currency function from qweb template (#26606)
compute method called 2 times in t-esc case when monetary field has "from_currency :: 1) value_to_html: compute method call when qweb monetary widget is return value as a html. see https://github.com/odoo/odoo/blob/10.0/odoo/addons/base/ir/ir_qweb/fields.py#L325 2) compute_currency : compute_currency method is pass from controller into render engine and it is call the compute method. So, we removed compute_currency method from qweb template in the t-esc with monetary widget.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions