diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2017-08-22 13:41:12 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-08-23 12:20:24 +0200 |
| commit | 6797d6a7c639c22f9987207481accee9b9b5b486 (patch) | |
| tree | 071dcdbea8972e5351ab2774cb3970ee151a103a /addons/google_spreadsheet/google_spreadsheet_data.xml | |
| parent | 388e258ce8c2a4fbd5e2ec5ec746bb91ca48d97f (diff) | |
[FIX] web: don't save empty required x2manys
Before this commit, the same function was called at the rendering and at the writing of a field.
It caused a field that should be displayed all the time (field is never false) to ignore its required attribute, in particular with one2many's.
After this commit, we differentiate between the rendering function and the validate to write function, making a type of field both requirable and always displayed even if empty
OPW 766002
Closes odoo/enterprise#1306
Cherry-pick odoo/enterprise@be8e5709918b42e6c60fe0327329f855a29f5a99
Diffstat (limited to 'addons/google_spreadsheet/google_spreadsheet_data.xml')
0 files changed, 0 insertions, 0 deletions
