diff options
| author | Xavier Morel <xmo@odoo.com> | 2015-11-25 16:45:06 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2015-12-01 15:59:31 +0100 |
| commit | 09ec63966175b8e6f8d896c71b8a3f1646dfb2ca (patch) | |
| tree | 53d4274cde0591c60f2729dd06d485b3d49bdc1d /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 19d9c57512d20292ec00b5494508eb08bd270e8f (diff) | |
[ADD] form_editor: whitelisting of fields
Automatically whitelist fields added to a website_form through the form
editor.
Ideally fields *removed* from a form should be removed from the
whitelist, but since we don't/can't keep track of the website's form,
there's no way to know if a field is needed by multiple forms and thus
no way to remove them.
Plus that would require way more source-tracking than just whitelisting
all the form's fields, I don't know if snippet widgets can track the
removal of elements from a page (easily anyway).
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
