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.
Open a kanban with a button - Error: Can't find field 'stage_id' in the following view parts composing the view...
I would like to be able to Open a kanban form with a button.
My Kanban is the project.task one.
I tried the code below but I got this error:
Can't find field 'stage_id' in the following view parts composing the view of object model 'project.task':
Someone has an idea about my problem? It will be great ;-)
Thank you a lot!
PS: This is my code:
def action_view_tasks(self, cr, uid, ids, context=None):
view_ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'project', 'view_task_kanban')
view_id = view_ref and view_ref or False,
this = self.browse(cr, uid, ids, context=context)
'name': 'Form heading',
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: 7/29/15, 1:00 PM|
|Seen: 633 times|
|Last updated: 8/4/15, 9:43 AM|