sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
| from odoo import models, fields | |
| class ParentModel(models.Model): | |
| _name = 'parent.model' | |
| parent_field_1 = fields.Char(string="Parent Field 1") | |
| parent_field_2 = fields.Integer(string="Parent Field 2") | |
| # If you want to display child data, you must create One2many field. |