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.
how do I inherit name_get function for product.prduct Model?
This line is making trouble when I put the whole function in my own module:
for product in self.browse(cr, SUPERUSER_ID, ids, context=context):
When Odoo 8 comes to use this function it throws out an error that the SUPERUSER id not defined or something.
How can I use the SUPERUSER in own modules or how can I work around when inheriting??
I am thankful for any help!
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: 9/30/15, 4:41 PM|
|Seen: 802 times|
|Last updated: 9/30/15, 4:58 PM|