summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-11-05 09:41:38 +0000
committerNicolas Martinelli <nim@odoo.com>2018-11-05 09:59:02 +0000
commitcf35835b8bea974dfbb7589976c8b79d654eb597 (patch)
tree695a4d7e87a2d7c3490b6b26158483a9a15a72a0 /addons/web/static/src/js/views/basic/basic_model.js
parent672bc57c1de338fb93b322b27d146b147967ef95 (diff)
[FIX] account: no account in manual move creation
- Activate multi-currency - Create an Journal Entry manually - Create a line Do not fill Account Fill in Amount Currency Fill in Currency A traceback occurs because `line.company_currency_id`. An extra condition `and line.company_currency_id` is not sufficient to have the onchange working properly. Indeed, the related field `company_currency_id` goes through another related field (`company_id`), leading to an empty value in some cases. opw-1904854 closes odoo/odoo#28389
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions