Files
odoo_source/addons
Yannick Tivisse f896afcc8a [FIX] web: Call 'toggle_active' instead of 'write'
Purpose
=======

Currently when clicking on 'Archive' or 'Unarchive' on the list view,
we write directly on the record {'active': False}, instead of calling
toggle_active. Missing that way implementation of numerous business cases.

Example
- Archive a record --> archive its next activities
- (Un)Archive a user --> (Un)Archive its partner
- (Un)Archive a product variant --> (Un)Archive its template if
  there is only one variant
- Archive an employee --> Open a wizard to choose an exit plan + describe
  the departure reason
- Archive a route --> Archive its procurement rules
- ...

Specification
=============

- Call toggle_active instead of write when calling toggleActive in the web
  client.
- On the other hand, use actionArchive and actionUnarchive to apply the
  toggle action on the related records only.
2019-07-12 13:01:36 +02:00
..
2019-07-04 11:32:22 +00:00
2019-07-04 11:32:22 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00
2019-05-10 11:52:58 +00:00