[FIX] exp_transaction_report
This commit is contained in:
parent
ec2f0563ad
commit
ad23a20cf3
|
|
@ -92,7 +92,7 @@ class ReportIncomingTransaction(models.AbstractModel):
|
|||
if internal_ids:
|
||||
today = fields.date.today()
|
||||
for rec in internal_ids:
|
||||
if datetime.datetime.strptime(rec.due_date, "%Y-%m-%d") < datetime.datetime.strptime(str(today), "%Y-%m-%d"):
|
||||
if datetime.datetime.strptime(str(rec.due_date), "%Y-%m-%d") < datetime.datetime.strptime(str(today), "%Y-%m-%d"):
|
||||
trasc = rec.trace_ids.filtered(lambda z: z.action == 'forward' or z.action == 'sent' or
|
||||
z.action == 'reply')[0]
|
||||
name = ''
|
||||
|
|
|
|||
Loading…
Reference in New Issue