Permalink
Browse files

fixup! fixup! [REF] openacademy: wkf migration to 10.0

  • Loading branch information...
moylop260 committed Jul 11, 2017
1 parent b60c47f commit 1f54680bf2a5e08505d8aa0e00aa2866c685aea3
Showing with 3 additions and 3 deletions.
  1. +3 −3 openacademy/workflow/openacademy_session_workflow.xml
@@ -12,21 +12,21 @@
<field name="name">Set session to Draft</field>
<field name="model_id" ref="model_openacademy_session"/>
<field name="code">
record.browse(cr, uid, context['active_ids'], context=context).action_draft()
record.browse(context['active_ids']).action_draft()
</field>
</record>
<record model="ir.actions.server" id="set_session_to_confirmed">
<field name="name">Set session to Confirmed</field>
<field name="model_id" ref="model_openacademy_session"/>
<field name="code">
record.browse(cr, uid, context['active_ids'], context=context).action_confirm()
record.browse(context['active_ids']).action_confirm()
</field>
</record>
<record model="ir.actions.server" id="set_session_to_done">
<field name="name">Set session to Done</field>
<field name="model_id" ref="model_openacademy_session"/>
<field name="code">
record.browse(cr, uid, context['active_ids'], context=context).action_done()
record.browse(context['active_ids']).action_done()
</field>
</record>
<!--Workflow activities-->

0 comments on commit 1f54680

Please sign in to comment.