mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
Merge pull request #161 from taktik/8.0_fix_account_credit_control_emailer
fix active_ids instead of active_id
This commit is contained in:
@@ -36,7 +36,7 @@ class CreditControlEmailer(models.TransientModel):
|
||||
context.get('active_ids')):
|
||||
return False
|
||||
line_obj = self.env['credit.control.line']
|
||||
lines = line_obj.browse(context['active_id'])
|
||||
lines = line_obj.browse(context['active_ids'])
|
||||
return self._filter_lines(lines)
|
||||
|
||||
line_ids = fields.Many2many('credit.control.line',
|
||||
|
||||
Reference in New Issue
Block a user