← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 673564] Re: [TRUCK][REV 3904 and REV 3911]impossible to use without demo data

 

Hello ,

It is fixed in trunk-addons.
Revison #3918

Thanks

** Changed in: openobject-addons
       Status: Confirmed => Fix Released

-- 
[TRUCK][REV 3904 and REV 3911]impossible to use without demo data
https://bugs.launchpad.net/bugs/673564
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Fix Released

Bug description:
This revision have LOT of bug in security.xml


Sample

addons/hr/security/hr_security.xml

<record id="base.user_demo" model="res.users">
       <field name="groups_id" eval="[(4, ref('base.group_hr_user'))]"/>
</record>

if you dont use DEMO DATA, this crash because code try to create user WITHOUT name, and a see this in MANY security xml.

So i have 2 choice, create a demo user, or modify all file .... 

i will create a demo user for the moment, but is too stupid to force us to create a demo user manualy in the database.


If you want force us to have a demo user, move the creation of the demo user OUT of base_demo.xml and  put it in base_data.xml





References