diff options
| author | Yannick Tivisse <yti@odoo.com> | 2019-07-01 16:36:40 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-07-12 13:01:35 +0200 |
| commit | ee5e972586795114f4adeead47746397a181c549 (patch) | |
| tree | fccec897a4a8cc6b9c2bb02d63435905d63cee35 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | fa45f88726066b62dfbb45964e4f87bcb6c193f9 (diff) | |
[IMP] web: Always display (un)archive buttons in Action on form views
Purpose
=======
While cleaning the stat buttons across all modules, we decided to move
the (un)archiving from stat button to actions in the 'Action' dropdown.
Specification
=============
If the record has an 'active' field, display an action 'Archive' in the
dropdown if the record is active, else display an action 'Unarchive'.
The 'Archive' action should ask to the user if he's sure he wants to
make this action.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
