change m2m table name to avoid naming conflicts with other modules

This commit is contained in:
Luc De Meyer
2020-05-29 18:40:52 +02:00
parent 730ee90dff
commit fe1b2d7b9e

View File

@@ -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.")