diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-06-02 15:35:29 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-06-07 08:08:49 +0200 |
| commit | 67747e6fa5f4c1b27eed5dfd7231001e98fb34c1 (patch) | |
| tree | 3f4a909e71b380da3bd4935496ce6b944d140efb /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | e9de309511d64897444645f8a9ea4bf701709bb8 (diff) | |
[FIX] web: FieldOne2Many: re-activate 'Add an item'
The 'Add an item' button of one2many editable lists is deactivated
once clicked (since rev. f9a1241) to prevent concurrent record
creation. It is re-activated when the record has been created.
Unfortunately, it might happen that the record is actually not
created, so in this case the button is never re-activated.
This happens for example on the customer invoice form view, if
the user tries to add a line before selecting a partner.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
