diff options
| author | nafex <nafex@gmx.net> | 2015-06-10 12:43:11 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-06-12 09:37:45 +0200 |
| commit | f5585731f41939c38abf3f09df2ab51a7bbe84cc (patch) | |
| tree | b1979982b2555f2c2edf77b6930e14b56ab4e610 /addons/analytic_user_function | |
| parent | d1c5aa79d54ca78f1fd5ca734b924034bf2264e0 (diff) | |
[FIX] website_sale: allow to reset field
When filling the form (for invoice or delivery details), once a field has been
filled, it's no longer possible to remove the value of this field.
e.g. set a company, not possible to remove it when modifies the address
This is due to the `get(key)` call that is considered as False with empty
strings. Instead, check the existance of the key.
Still not accepting mandatory in the form (not checked in this method).
Fixes #7017
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
