[TRUCK][REV 3904 and REV 3911]impossible to use without demo data

Bug #673564 reported by Serge
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

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

Revision history for this message
Serge (sboivin) wrote :

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

Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
Serge (sboivin) wrote :

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: - [TRUCK][REV 3904]impossible to use without demo data
+ [TRUCK][REV 3904 and REV 3911]impossible to use without demo data
Revision history for this message
Harry (OpenERP) (hmo-tinyerp) wrote :

Hello ,

It is fixed in trunk-addons.
Revison #3918

Thanks

Changed in openobject-addons:
status: Confirmed → Fix Released
Revision history for this message
Serge (sboivin) wrote :

Tested and fix work, thank

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.