This video is about how to add a new field to an existing model. A new field can be added to an existing model by inheriting the model. #odoodevelopmentvideos A view for this field can be given by inheriting the view we need to add this field too. #odoo15technical #odootutorials Connect With Us: ———————— ➡️Website: […]
In this video, we are discussing how to show a specific view on the action in Odoo development. #odootechnicalvideos Video Contents ————————- 00:10 Introduction 00:30 Specific view on an action By mentioning the Id of a record in the view_id of an act window we can show that specific view when the corresponding record action […]
This video is about how to open a form view while clicking a button. On the button action we can return the view we need to open like this. #odootechnicalvideos #odoovidoes #odoo15developmentvideos Here we can pass our model to ‘res_model’ and the particular view to ‘view_id’ def my_button(self): return { ‘name’: “Your String”, ‘type’: ‘ir.actions.act_window’, […]
In this video, we are discussing how to add a new option in an existing selection field in odoo. #odoodevelopmentvideos Video Contents 00:10 Introduction 00:45 Adding a New Item in Selection Field #odoo15videos First, we inherit the model in which the selection field is defined. Then we redefine the field by just adding the selection_add […]
In this video, We can discuss how we can show sample data in tree, kanban view. If the model does not contain any data at that time sample data will show. #odoodevelopmentvideos Video Contents 00:00 Introduction 01:18 Adding Sample =1 Attribute in a Tree, Kanban View Only we need to just add sample = 1 […]
In this video, we can discuss how we can provide kanban record color in notebook Odoo. #odoo15developmentvideos Video Contents ———————— 00:00 Introduction 00:28 Checking an Example 00:40 Adding Color to Kanban There are lots of views available on Odoo. List, form, graph, pivot are some examples. Kanban is an interesting view. #odoo15tutorials In kanban, view […]
One of the vital aspects of office administration is Notes, and it is a transfer of information. Individuals forget many things in the busy world, and Notes act as a reminder to catch details easily. #odoo15notes Video Contents ———————— 00:00 Introduction 00:54 How to Create Notes 02:35 Add Button 04:27 Schedule Activity A practical Note […]
The search_count() method returns the number of records matching the search domain. This method accepts a search domain as its arguments. #odootechnicaltutorial Video Contents ————————- 00:15 Introduction 00:16 search_count function use case 00:36 using search_count function to show the number of records Syntax: Model.search_count(args) ? int Eg: self.search_count([(‘product_tmpl_id’, ‘=’, record.product_tmpl_id.id),(‘active’, ‘=’, True), ]) This returns […]
By using the many2many fields many records of one model can be linked to many records of another model. #odoodevelopmentvideos Sometimes we may need to unlink all the records from a many2many fields at once. #odoomany2many There are some flags that can be used to update the many2many field. one of them is, (5)- which […]
There are some flags that can be used to one2many fields. #odoodevelopmentvideos (0, 0, { values }) link to a new record that needs to be created with the given values dictionary #odoo15tutorials (1, ID, { values }) update the linked record with id = ID (write values on it) (2, ID) remove and delete […]