Skip to content

Commit

Permalink
[FIX]fleet: setting group for user_demo should be done in demo data i…
Browse files Browse the repository at this point in the history
…nstead of data

bzr revid: csn@openerp.com-20121217132045-lt0b2aeubty1hrkn
  • Loading branch information
csnauwaert committed Dec 17, 2012
1 parent fe48c4e commit d7461fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions addons/fleet/fleet_demo.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="base.user_demo" model="res.users">
<field name="groups_id" eval="[(4, ref('fleet.group_fleet_user'))]" />
</record>

<record id="vehicle_state_inshop" model="fleet.vehicle.state">
<field name="name">In shop</field>
<field name="sequence">1</field>
Expand Down
1 change: 0 additions & 1 deletion addons/fleet/security/fleet_security.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<record id="group_fleet_user" model="res.groups">
<field name="name">User</field>
<field name="category_id" ref="module_fleet_category"/>
<field name="users" eval="[(4, ref('base.user_demo'))]"/>
</record>
<record id="group_fleet_manager" model="res.groups">
<field name="name">Manager</field>
Expand Down

0 comments on commit d7461fb

Please sign in to comment.