c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #03650
[Bug 673564] [NEW] [TRUCK][REV 3904]impossible to use without demo data
Public bug reported:
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
** Affects: openobject-addons
Importance: Undecided
Status: New
--
[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
Follow ups
References