summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2017-05-24 16:14:32 +0200
committerAaron Bohy <aab@odoo.com>2017-05-30 13:04:06 +0200
commita0c16e9cd2fc37dc5962daa0311c85add76535b3 (patch)
tree29de1ecaef7583a18248fb48469a046db97f6ab8 /addons/web/static/src/js/fields/basic_fields.js
parent2742722d3634170ed060cbf5e8371bfaeb86c0e0 (diff)
[ADD] web: special = save on form buttons
Add support for value 'save' to attribute 'special' for buttons in form view. This is useful for form views in dialogs. When clicked, it saves the form view and closes the dialog (the default 'Save' button doesn't close the dialog). Without this, the only way to achieve that was to define a dummy python method and call it with <button type="object" name="dummy_method"/>.
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions