I'm trying to run a test task from the site https://www.odoo.com/documentation/15.0/developer/howtos/website.html
models.py
from odoo import models, fields, api
class Teachers(models.Model):
_name = 'academy.teachers'
name = fields.Char()
biography = fields.Html()
course_ids = fields.One2many('academy.courses', 'teacher_id', string="Courses")
class Courses(models.Model):
_name = 'academy.courses'
_inherit = 'product.template'
teacher_id = fields.Many2one('academy.teachers', string="Teacher")
but when start odoo i have error
TypeError: Many2many fields academy.courses.taxes_id and product.template.taxes_id use the same table and columns - - -
don't understand how to remove this error
Бany2many fields academy.courses.taxes_id and product.template.taxes_id use the same table and columns