diff options
| author | Thibault Delavallée <tde@openerp.com> | 2016-08-11 15:33:43 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2016-08-18 14:52:04 +0200 |
| commit | 5916583885b495aca8cbd74a296416db17150ffd (patch) | |
| tree | 2d00614aa0320e5a0f8d5c8220660d58d64d07b4 /addons/website/static/src/xml/website.contentMenu.xml | |
| parent | 450aa05cc6610e3a03fbc05d1c2949ce0b41f039 (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/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions
