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 have created a button and wrote function for that like, when i click on that button new pop-up form should open.
<button name="button_method" string="Test Drive Type" type="object" class="btn-primary"/>
view_ref = self.pool.get('ir.model.data').get_object_reference('autochip', 'so_on_form')
view_id = view_ref and view_ref or False
'views': [(view_id, 'form')],
When i click on button i am getting
TypeError: <built-in function id> is not JSON serializable
i am not able to find what is the issue?
what is wrong?
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: 5/20/16, 2:20 PM|
|Seen: 968 times|
|Last updated: 5/21/16, 2:43 AM|