[6.0rc1] Poor error handling on import of many2many
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP's Framework R&D |
Bug Description
I have a CSV file of user data res.users.csv in my module. Some of my users belong to several groups. Upon installing my module I was getting a warning in the log:
WARNING:
ess Rights,
/ Forklift Operator,Partner Manager,Pounds Solids / Manager,Pounds Solids / Tech,Product / Manager,
ics Coordinator,
ving / Yard Marshall,Sales / Manager,Sales / User,Useability / Analytic Accounting,
ne,Useability / Product UoS View,Useability / Product Variant,Warehouse / Manager,Warehouse / User on 'res.groups'
I have three issues with this:
1) All data loaded before this point is rolled back but the install continues. Either roll-back and stop, or commit and go forward. Don't leave me half-installed with nothing but a warning in the log.
2) Which of these twenty-eight items is the problem? Each one is checked individually so tell me exactly which one breaks.
3) After going through in the debugger I discovered it was Product / Manager. This is one of your groups. What was wrong with it? It should not have a slash. You have Sales / Manager, Accounting / Manager, Warehouse / Manager - but you also have Partner Manager and Product Manager. Consistency please!
Hello Martin,
Would you please provide me your .csv file. So i can check at my end.
Thanks.