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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
3289
Lượt xem
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
You should inherit res.partner instead of defining
I actually inherit res.partner. But nothing happen
provide practical (one cycle) traceback