[REF] Set public_user as a shared user in data when we installs the module share

bzr revid: jke@openerp.com-20140128143617-02bfjb27hgmucu4e
This commit is contained in:
jke-openerp 2014-01-28 15:36:17 +01:00
parent 5e12e47c87
commit 0fc5b4680b
2 changed files with 11 additions and 1 deletions

View File

@ -46,7 +46,8 @@ synchronization with other companies.
'data': [
'security/share_security.xml',
'res_users_view.xml',
'wizard/share_wizard_view.xml'
'wizard/share_wizard_view.xml',
'share_demo.xml',
],
'installable': True,
'auto_install': True,

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<record id="base.public_user" model="res.users">
<field eval="[(4, ref('group_share_user'))]" name="groups_id"/>
<field name="share" eval="True" />
</record>
</data>
</openerp>