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'm a newbie in Odoo v8 development and I'm following the different tutorials from Odoo webpage.
My question is related to create my own tree, form, calendar, kanban, ... views and not to use the Odoo predefined views.
When I create a view (view.xml) for a module, I can associate a menu to an action and an action to one or more views.
Then, I can create a record in the view.xml file to show the Odoo predefined tree view with different fields from my module
<record id="view_tree_todo_task" model="ir.ui.view"> <field name="name">To-do Task Tree</field> <field name="model">todo.task</field> <field name="arch" type="xml"> <tree> <field name="name"/> <field name="is_done"/> </tree> </field> </record>
When i clic in the menu, I can see the tree view. The Odoo graphic interface has some buttons to activate the differents view (tree, form, kanban, ...)
Is it possible creating a qweb template?. In this case, how I can refer to my model fields (from the .py file) from the template?.
And how I can associate an action menu to my personalized qweb template view?.
I know that they are many difficult questions, but I would appreciate any help to follow my learning.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 4/28/15, 10:02 PM|
|Seen: 1268 times|
|Last updated: 5/5/15, 7:44 PM|