Odoo Help
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 can i render to tree view from function?
I am showing a wizard. Based on the wizard inputs i am changing database view content. But i unable to render to that tree view of that veiw. How can i do this in odoo-7? For example to render rml report i can use a return statment like
return {
'type':'ir.actions.report.xml',
'report_name':'models.webkit.report',
'datas':datas,
'context':context
}
Now i want to render to tree view how can i do this?
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.
RegisterOdoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.
Test it nowQuestion tools
Stats
Asked: 12/12/14, 3:43 AM |
Seen: 1346 times |
Last updated: 3/16/15, 8:10 AM |
--
Thanks and Regards,
Sambasiva rao,
Cell: +91.9676622023
Skype: samba.guduru2(skype)You can create the wizard first (using create method) and then pass the return of the create method as a domain when you call the action. This way you can set whatever data beforehand. But I don't quite get what you want from passing the information to init. Maybe if you explain the end result that you want, I can help you better. Sample for creating the wizard first and displaying it can be found in the open_invoice method of addons/stock/wizard/stock_invoice_onshipping.py (the sample creates invoice first and display it. The same concept can be used).