Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I tried to extend the 'event.track' model with a Many2many relation on 'event.track' itself but I get a weird error.
_inherit = 'event.track'
is_main_track = fields.Boolean(string="Is a Main Track", default="False")
chair_ids = fields.Many2many(comodel_name="res.partner", relation="track_chairs", column1="track", culomn2="chair", string="Chairs")
main_track = fields.Many2many(comodel_name="event.track", relation="minitracks", column1="main_track", culomn2="mini_track_ids")
mini_track_ids = fields.Many2many(comodel_name="event.track", relation="minitracks", column1="mini_track_ids", culomn2="main_track")
ProgrammingError: column minitracks.mini_track_ids does not exist
LINE 1: SELECT minitracks.event_track_id, minitracks.mini_track_ids ...
Does anybody have an idea how to fix that?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/20/15, 10:27 PM|
|Seen: 2235 times|
|Last updated: 5/25/15, 8:58 AM|