summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-02-25 13:16:34 +0000
committerNicolas Martinelli <nim@odoo.com>2019-02-25 13:58:02 +0000
commit950d0f1849bebc20bfd6b2d71bedfd97d675b642 (patch)
treeb644bb5ba56ac12008db597daaa94992c9dd345f /addons/web/static/src/js/views/basic/basic_controller.js
parent443b810e09ef0e31d5025996950df08c7666d5f6 (diff)
[FIX] product, stock_account: cost currency
The cost of the product is a property field, meaning that: - its value depends on the current company; - its currency is the company currency However, several views use the monetary widget to display its currency with the default `currency_id` field. This can be incorrect, since the latter is computed based on the product's company. We introduce the new computed field `cost_currency_id` which has the appropriate value and can be used in the views. Closes #30616 opw-1934443
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions