Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I tried to update context in Odoo8 API i got below error and i also try to update self.with_context but it not display when i print self._context.
So i want to know what is difference between self.with_context and self._context?
Any have solution for below error?
File "/home/workspace/erp/openerp/addon/training/registration.py", line 106, in action_open_survey
self._context['survey_token'] = response_id.token
File "/home/workspace/erp/openerp/tools/misc.py", line 1250, in __setitem__
raise NotImplementedError("'__setitem__' not supported on frozendict")
NotImplementedError: '__setitem__' not supported on frozendict
Thanks in advance
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/12/15, 12:28 AM|
|Seen: 6063 times|
|Last updated: 7/1/16, 3:28 AM|