Abstract Model

The abstract model serves as the base class for all Odoo models intended to be stored in the database. All Odoo models are defined by inheriting from this class. It offers a core structure and shared features for database-stored entities, supporting a consistent and efficient method for building and managing models in Odoo.


from odoo import models, fields

class AbstractModelExample(models.AbstractModel):
    _name = "model.name"

    field = fields.Char(string="Field Label")
whatsapp_icon
location

Calicut

Cybrosys Technologies Pvt. Ltd.
Neospace, KINFRA Techno Park
Kakkanchery, Calicut
Kerala, India - 673635

location

Kochi

Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, India - 682030.

location

Bangalore

Cybrosys Techno Solutions
The Estate, 8th Floor,
Dickenson Road,
Bangalore, India - 560042

Send Us A Message