Browse Source

[FIX] fix wrong field name

pull/4/head
houssine 6 years ago
parent
commit
d909c3d32c
  1. 2
      easy_my_coop_export_xlsx/wizard/export_global_wizard.py

2
easy_my_coop_export_xlsx/wizard/export_global_wizard.py

@ -125,7 +125,7 @@ class export_global_report(models.TransientModel):
worksheet1.write(j, i, line.price_subtotal) worksheet1.write(j, i, line.price_subtotal)
i += 1 i += 1
if invoice.payment_ids: if invoice.payment_ids:
worksheet1.write(j, i, invoice.payment_ids[0].date)
worksheet1.write(j, i, invoice.payment_ids[0].payment_date)
i += 1 i += 1
if invoice.subscription_request: if invoice.subscription_request:
ind = len(invoice.subscription_request)-1 ind = len(invoice.subscription_request)-1

Loading…
Cancel
Save