Browse Source

[FIX] invoice payment information have been moved to another field

pull/4/head
houssine 5 years ago
parent
commit
0a3fe10446
  1. 4
      easy_my_coop_export_xlsx/wizard/export_global_wizard.py

4
easy_my_coop_export_xlsx/wizard/export_global_wizard.py

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

Loading…
Cancel
Save