← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

addons/hr/security/hr_security.xml
addons/event/secutiry/event_security.xml
addons/account_accountant/security/account_security.xml
addons/point_of_sale/security/point_of_sale_security.xml
addons/sale/security/sale_security.xml


All this modify by the by the revision 3909 merged the dev3 branch

-- 
[TRUCK][REV 3904]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: New

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