Permalink
Browse files

replaced res.roles for res.groups

  • Loading branch information...
1 parent 8394f05 commit 654712b31d4a5e0ca92b2cd66be7fdda698f1309 Renato Lima committed Oct 14, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 poweremail_workflow.xml
View
@@ -2,7 +2,7 @@
<openerp>
<data>
- <record id="PE_ADMIN" model="res.roles">
+ <record id="PE_ADMIN" model="res.groups">
<field name="name">Power Email Administrator</field>
</record>
@@ -54,19 +54,19 @@
<field name="act_from" ref="act_approved"/>
<field name="act_to" ref="act_suspended"/>
<field name="signal">button_suspended</field>
- <field name="role_id" ref="PE_ADMIN"/>
+ <field name="group_id" ref="PE_ADMIN"/>
</record>
<record id="trans_suspended_reapproved" model="workflow.transition">
<field name="act_from" ref="act_suspended"/>
<field name="act_to" ref="act_draft"/>
<field name="signal">get_reapprove</field>
- <field name="role_id" ref="PE_ADMIN"/>
+ <field name="group_id" ref="PE_ADMIN"/>
</record>
<record id="trans_suspended_dummy" model="workflow.transition">
<field name="act_from" ref="act_suspended"/>
<field name="act_to" ref="act_dummy"/>
<field name="signal">get_never</field>
- <field name="role_id" ref="PE_ADMIN"/>
+ <field name="group_id" ref="PE_ADMIN"/>
</record>
</data>
</openerp>

0 comments on commit 654712b

Please sign in to comment.