default_get in base/res/res_users.py does not handle initialization of context
Bug #1296750 reported by
Niels Huylebroeck
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) | Status tracked in Trunk | |||||
Trunk |
New
|
Undecided
|
Unassigned |
Bug Description
The code here is missing an initialization of context in case it is None.
To post a comment you must log in.
I was encountering this issue with a test scenario.
user_obj = self.registry( 'res.users' ) create( self.cr, self.uid, {'name': 'Test', login: 'test'})
user_obj.