Skip to content

Commit

Permalink
[FIX] mail: fix m2m with same table
Browse files Browse the repository at this point in the history
  • Loading branch information
rco-odoo committed Dec 6, 2018
1 parent 8abb33d commit e1737f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/mail/wizard/email_template_preview.py
Expand Up @@ -34,6 +34,7 @@ def default_get(self, fields):

res_id = fields.Selection(_get_records, 'Sample Document')
partner_ids = fields.Many2many('res.partner', string='Recipients')
attachment_ids = fields.Many2many(string='Attachments', store=False)

@api.onchange('res_id')
@api.multi
Expand Down

0 comments on commit e1737f6

Please sign in to comment.