Hello!
I am trying to create my first custom app in Odoo. The app name is 'fabrica3' with a model below:
class MRPWorkorder(models.Model):
_name = 'fabrica3.mrpworkorder'
_inherit = 'mrp.workorder'
employee = fields.Many2one('hr.employee')
name = fields.Char(compute='_get_name', store=True)
But when I try to activate this app I receive the message
TypeError: Many2many fields fabrica3.mrpworkorder.blocked_by_workorder_ids and mrp.workorder.blocked_by_workorder_ids use the same table and columns
But I dont use the field blocked_by_workorder_id.
I am using v18.
Can anyone help me .
See also https://www.odoo.com/documentation/18.0/developer/reference/backend/orm.html#inheritance-and-extension