diff options
| author | Jeremy Kersten <jke@odoo.com> | 2017-01-27 12:21:26 +0100 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2017-01-27 12:56:13 +0100 |
| commit | 59f43a777dfc60270d56968c477ddcae7a71a8af (patch) | |
| tree | c8ac8b3b6cc0de396679a0bf4fe70a8946c5e29b /addons/web/static/src/xml/base.xml | |
| parent | 47b2c45821e11d0aed11903ac9219563763a27be (diff) | |
[FIX] website_sale: allow to edit billing address when you are a contact.
Before this commit, a user that is logged in with a partner of type contact,
was inheriting the address from the parent and didn't have the right to edit
the billing address... stopping the checkout in the middle.
With this commit, we change type of contact if needed to allow the user to
finish the checkout.
ps: Use of write instead of update to make the update in one step, else the
values updated before the field 'type' are ignored because the field is resync
from parent automatically.
This commit is related to: opw-705974 and opw-704653
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
