Public bug reported:
base/res/res_user.py - def write
if not (values['company_id'] in self.read(cr, uid, uid,
['company_ids'], context=context)['company_ids']):
del values['company_id']
always deletes company_id because
self.read(cr, uid, uid, ['company_ids'], context=context)['company_ids']):
does not return the available company list but the "old" company id
had to comment
#del values['company_id']
to get it working temporarily
** Affects: openobject-server
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/729669
Title:
[6.0] can not switch / write company in preferences
Status in OpenERP Server:
New
Bug description:
base/res/res_user.py - def write
if not (values['company_id'] in self.read(cr, uid, uid,
['company_ids'], context=context)['company_ids']):
del values['company_id']
always deletes company_id because
self.read(cr, uid, uid, ['company_ids'], context=context)['company_ids']):
does not return the available company list but the "old" company id
had to comment
#del values['company_id']
to get it working temporarily
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp