diff --git a/intrastat_base/models/res_company.py b/intrastat_base/models/res_company.py index 05c3d15..7372992 100644 --- a/intrastat_base/models/res_company.py +++ b/intrastat_base/models/res_company.py @@ -10,7 +10,9 @@ class ResCompany(models.Model): _inherit = "res.company" intrastat_remind_user_ids = fields.Many2many( - 'res.users', column1='company_id', column2='user_id', + comodel_name='res.users', + relation='company_intrastat_reminder_user_rel', + column1='company_id', column2='user_id', string="Users Receiving the Intrastat Reminder", help="List of Odoo users who will receive a notification to " "remind them about the Intrastat declaration.")