summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2019-12-19 09:54:15 +0000
committerDamien Bouvy <dbo@odoo.com>2019-12-20 11:16:01 +0000
commit6ac675f50f5b6e6fb8074107dc58be42e57fa304 (patch)
treeabfedc06e46c5ab99a802eb6baf577b5fa066c49 /addons/web/static/src/js/views/basic/basic_controller.js
parent59eee6ba5fed0ba74221f44a296ec6efedbc2527 (diff)
[IMP] mail: support custom `x_active` field
An override of toggle_active was present to ensure that activities would be removed before archiving records; this commit adapts this mechanism to take custom active fields into account, since they are now supported at ORM-level by getting the active field through the `_active_name` model attribute instead of blindly using the `active` hard-coded field that was used until now.. closes odoo/odoo#40109 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions