c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04054
[Bug 673564] Re: [TRUCK][REV 3904]impossible to use without demo data
>From revision 3911, new module affected by this bug
addons/crm/security/crm_secutiry.xml
addons/idea/security/idea_security.xml
addons/knowledge/security/knowledge_security.xml
addons/lunch/security/lunch_security.xml
addons/project/security/project_security.xml
addons/survey/security/survey_security.xml
maybe more, i dont use all module ...
i can't understand why openerp team add demo in security module, they
think all people create database with demo data....
** Summary changed:
- [TRUCK][REV 3904]impossible to use without demo data
+ [TRUCK][REV 3904 and REV 3911]impossible to use without demo data
--
[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: Confirmed
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