Hi community,
I wanted to make a boolean field in res.partner when i create a record in my custom module. Below is my code. Please help.
class Res(models.Model):
_inherit = 'res.partner'
is_bool = fields.Boolean(default=False)
class Custom(models.Model):
_name = 'custom.custom'
name = fields.Char('Name')
age = fields.Integer('Age')
Regards.