summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorJairo Llopis <yajo.sk8@gmail.com>2016-01-25 18:41:28 +0100
committerGoffin Simon <sig@odoo.com>2016-03-08 13:40:40 +0100
commit906bf16a7617a86455547e3ebc08485cc80458df (patch)
tree9d27a9fc6e1c1d9950fda5f2dee8207d21e22ee8 /addons/web/static/src/js/framework/session_instance.js
parentb955bac100999364df75219f673bafd18fc7435f (diff)
[8.0][FIX] Make on_change in address_format divs work
To reproduce the bug: - Create a partner. - Set it state "Alaska". - Country becomes "United States". - Set a country for YourCompany, such as Spain. - Create a partner. - Set it state "Alaska". - Country remains blank. Also, `node.xpath("//field")` was running over every `<field>` in the view, not just those inside the `<div class="address_format">`. Now it only traverses the right nodes, which renders every affected view faster.
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions