[FIX] website_slides: fix wrong comodel name in many2many
Channels uses tags allowing to categorize and filter content. For that purpose a m2m exists between channels (slide.channel) and tags (slide.channel .tag). The 2many relationship from tags to channels holds however a wrong comodel name. It has no impact on code since relationship table is correctly defined and current code does not use the channel_ids fields from tags. closes odoo/odoo#42244 X-original-commit: 46c3ac94485292c59fdfe4b21a8e32eef9d1f998 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -29,4 +29,4 @@ class SlideChannelTag(models.Model):
|
||||
group_sequence = fields.Integer(
|
||||
'Group sequence', related='group_id.sequence',
|
||||
index=True, readonly=True, store=True)
|
||||
channel_ids = fields.Many2many('slide.channel.tag', 'slide_channel_tag_rel', 'tag_id', 'channel_id', string='Channels')
|
||||
channel_ids = fields.Many2many('slide.channel', 'slide_channel_tag_rel', 'tag_id', 'channel_id', string='Channels')
|
||||
|
||||
Reference in New Issue
Block a user