Merge pull request #2983 from expsa/dev_odex25_transactions
Dev odex25 transactions
This commit is contained in:
commit
0141beb3f9
|
|
@ -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