[FIX] account_credit_control migration

This commit is contained in:
Holger Brunn
2017-09-18 11:21:59 +02:00
parent 82aebb66ab
commit 506f3afd50

View File

@@ -33,7 +33,7 @@ def migrate_followup_data(env):
'delay_days': line['delay'],
'email_template_id': env.ref(
'account_credit_control.email_template_credit_control_base'
),
).id,
'channel': 'email' if line['send_email'] else 'letter',
'custom_text': line['description'],
'custom_mail_text': line['description'],