Invalid many2many encoding in test_orm.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP's Framework R&D |
Bug Description
I'm suggesting the following change to fix an exception occuring in the test suite:
- self.uid2 = self.users.
+ self.uid2 = self.users.
=======
ERROR: testAccessDelet
Verify that accessing deleted records works as expected
-------
Traceback (most recent call last):
File "/home/
self.uid2 = self.users.
File "/home/
user_id = super(res_users, self).create(cr, uid, values, context=context)
File "/home/
user_id = super(res_users, self).create(cr, uid, data, context=context)
File "/home/
user_id = super(res_users, self).create(cr, uid, data, context=context)
File "/home/
user_id = super(res_users, self).create(cr, uid, data, context=context)
File "/home/
return super(users_view, self).create(cr, uid, values, context)
File "/home/
self.write(cr, uid, [user_id], {'groups_id': groups}, context)
File "/home/
user_group_ids = [command[1] for command in vals['groups_id'] if command[0] == 4]
TypeError: 'int' object is unsubscriptable
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/tests/test_orm.py (+1/-1)
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Medium |
status: | New → Confirmed |
summary: |
- [7.0] Invalid many2many encoding in test_orm.py + Invalid many2many encoding in test_orm.py |
Changed in openobject-server: | |
importance: | Medium → Low |