I want to inherit res.partner model in my custom module.
In py file,
class assest(models.Model):
_name = 'res.partner'
but i am getting security error.
how to solve this?
please help me
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I want to inherit res.partner model in my custom module.
In py file,
class assest(models.Model):
_name = 'res.partner'
but i am getting security error.
how to solve this?
please help me
Hi,
You can inherit a model like this,
class ResPartner(models.Model):
_inherit = 'res.partner'
See this: How To Inherit And Add Field to Existing Views In Odoo12
Thanks
Thanks
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up