summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.contentMenu.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2016-08-11 15:33:43 +0200
committerThibault Delavallée <tde@openerp.com>2016-08-18 14:52:04 +0200
commit5916583885b495aca8cbd74a296416db17150ffd (patch)
tree2d00614aa0320e5a0f8d5c8220660d58d64d07b4 /addons/website/static/src/js/website.contentMenu.js
parent450aa05cc6610e3a03fbc05d1c2949ce0b41f039 (diff)
[FIX] event: take contact data when changing contact
registration.onchange_partner_id() method updates registration contact data (phone, email, name) based on the partner_id field. However the onchange currently works only when no existing contact data is stored on the registration. A second change of partner_id does not update the contact data. The condition is now inversed. This way when changing the partner, if it has valid contact data, it will replace existing information.
Diffstat (limited to 'addons/website/static/src/js/website.contentMenu.js')
0 files changed, 0 insertions, 0 deletions