In this video we will discuss how to use sql constrains in odoo. SQL constraints are defined through the model attribute _sql_constraints. The latter is assigned to a list of triples of strings (name, sql_definition, message), where name is a valid SQL constraint name, sql_definition is a table_constraint expression, and message is the error message. […]
These are the flags that are used for updating Odoo One2many field. (0, 0, { values }) link to a new record that needs to be created with the given values dictionary (1, ID, { values }) update the linked record with id = ID (write values on it) (2, ID) remove and delete the […]
_rec_name is intended to define the record value to display it in search for many2one and other cases #Odoo #Odoo14 #OdooTechnical #Odoo14Technical #REC #Odoo #Odoo #Technical #Video
In this video, we discuss the One2Many field parameters used in odoo and their use cases #Odoo #Odoo14 #OdooTechnical #Odoo14Technical #One2Many #Field #Parameters #Odoo #Odoo #Technical #Tutorial
In this video, you can see how to override a delete function. This is used whenever we need to customize, make alerts or call some methods while deleting a record in Odoo. #Odoo #Odoo14 #OdooTechnical #Odoo14Technical #Override #Delete #Function #Odoo #Development #Video
Relational Fields provide the option to link the data of one model with the data of another model. In Odoo, relational field types are One2many, Many2one, Many2many. #relationalfields #one2many #many2manyodoo #Odoo #Odoo14 #OdooTechnical #Odoo14Technical An One2many field is a one-way direction of selecting multiple records from a table. For example, a Sales Order can contain […]
In this video, we explain how to do field editing on a website. As we know Data that is specific to a record should be saved on that record. #odoowebsite #odoowebsitebuilder #odoo #odoo14 #odootechnical #odoo14technical #Editing #Fields #Odoo #Building #Website #Field #Editing