summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2017-01-03 19:28:56 +0100
committerThibault Delavallée <tde@odoo.com>2017-01-03 19:36:29 +0100
commit7039d705814b057cf11efeb7c1cb9e6cd06eb88b (patch)
tree883b8286a4aef6d25f6398b1013165cbba089c34 /addons/web/static/src/js/views/basic/basic_controller.js
parentd8072e11bd850b74db7662dcf8b5a34657d4d08d (diff)
parent99959e0f07227416b68338e5933fc60ee9cb8e1e (diff)
[MERGE] ir_actions, ir_cron, base_automation: refactor server, scheduled and automated actions
This commit simplifies server code execution by allowing only server actions to execute code. Scheduled actions (ir.cron) and automated actions (base.action.rule renamed to base.automation) now delegate all code execution to their own server action, using inheritance. Those models now contain only fields related to cron details for scheduled actions, or triggers and filters for automated actions. Server actions have been simplified. Main options stay the same but complex options in creation / update have been removed. Those should be done using code-based server actions. A server action type to add followers has been added. Views have been updated accordingly. Base form view of server action is used as a base for scheduled and automated action. Editing a cron or an automated action looks like editing a server action with some added fields. Thanks to @fpodoo for the original idea and preliminary work. Thanks to @jpr-odoo for first developments and @tivisse for improving and cleaning the work. Thanks to @jem-odoo and @rco-odoo for reviewing.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions