I created one2many field named gdpr in model res.partner. When I insert data into it, then save on it.
getting below error:
maximum recursion depth exceeded while calling a python object
I had written below code:
class gdprrequest(models.Model):
_name='gdpr.request'
_description='Gdpr Request'
gdprq_line_ids=fields.Many2one('res.partner',string="Gdprq line")
ids=fields.Integer(string="ID")
class respartner(models.Model):
_name='res.partner'
x_studio_field=fields.One2many('gdpr.request','gdprq_line_ids',string="List of Request")
If anyone know, please let me know
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
3166
Представления
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Регистрация
You should inherit res.partner instead of defining
I actually inherit res.partner. But nothing happen
provide practical (one cycle) traceback