How To create wizards in odoo ?

Hello , In this post were going to talk about wizards how to create and use them.

A wizard is a model that display a form view to the user usually in a dialog window, with some fields to be filled in, unlike other models wizards are declared using models.TransietModel and data used in wizard it’s expected to be useful in only until wizard is completed or canceled.

Continue reading

Advertisements

How to create a List, Graph and Pivot views in Odoo?

Hello everyone. Now, we’ll have a quick look at how to define list (tree), graph and pivot views. List views are used when we work in list mode in order to visualize several resources at once. These views are simpler than the form views and have less options. Continue reading

How to create a form view in Odoo?

Hello everyone. In this blog-post tutorial we will learn how to create a form view in Odoo. Firstly, let’s define views. Views is the way the records of a model are displayed. Each type of view represents a mode of visualization ( a list of records, form, a graph, calendar, kanban). Here we will learn one mode ‘Form’ view.

So, here we have a model named Marks which has a Many2one field called ‘student_id’. This field represents the informations of the Students(e.g name, age, number,…) other Many2one field called ‘courses_id’ (e.g name, number), and Float fields ‘exam1’ ‘exam2’ ‘extra’ ‘average’. Marks model looks like this: Continue reading