Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

odoo model

from odoo import fields, models, api


class ModelName(models.Model):
    _name = 'ProjectName.TableName'
    _description = 'Description'

    name = fields.Char()
 
PREVIOUS NEXT
Tagged: #odoo #model
ADD COMMENT
Topic
Name
4+9 =