|
|
@ -27,12 +27,13 @@ class OpenItemsXslx(abstract_report_xlsx.AbstractReportXslx): |
|
|
|
3: {'header': _('Account'), 'field': 'account', 'width': 9}, |
|
|
|
4: {'header': _('Partner'), 'field': 'partner', 'width': 25}, |
|
|
|
5: {'header': _('Ref - Label'), 'field': 'label', 'width': 40}, |
|
|
|
6: {'header': _('Due date'), 'field': 'date_due', 'width': 11}, |
|
|
|
7: {'header': _('Original'), |
|
|
|
6: {'header': _('Rec.'), 'field': 'reconcile_string', 'width': 11}, |
|
|
|
7: {'header': _('Due date'), 'field': 'date_due', 'width': 11}, |
|
|
|
8: {'header': _('Original'), |
|
|
|
'field': 'amount_total_due', |
|
|
|
'type': 'amount', |
|
|
|
'width': 14}, |
|
|
|
8: {'header': _('Residual'), |
|
|
|
9: {'header': _('Residual'), |
|
|
|
'field': 'amount_residual', |
|
|
|
'field_final_balance': 'final_amount_residual', |
|
|
|
'type': 'amount', |
|
|
@ -40,15 +41,15 @@ class OpenItemsXslx(abstract_report_xlsx.AbstractReportXslx): |
|
|
|
} |
|
|
|
if report.foreign_currency: |
|
|
|
foreign_currency = { |
|
|
|
9: {'header': _('Cur.'), 'field': 'currency_id', |
|
|
|
10: {'header': _('Cur.'), 'field': 'currency_id', |
|
|
|
'field_currency_balance': 'currency_id', |
|
|
|
'type': 'many2one', 'width': 7}, |
|
|
|
10: {'header': _('Cur. Original'), |
|
|
|
11: {'header': _('Cur. Original'), |
|
|
|
'field': 'amount_total_due_currency', |
|
|
|
'field_final_balance': 'final_amount_total_due_currency', |
|
|
|
'type': 'amount_currency', |
|
|
|
'width': 14}, |
|
|
|
11: {'header': _('Cur. Residual'), |
|
|
|
12: {'header': _('Cur. Residual'), |
|
|
|
'field': 'amount_residual_currency', |
|
|
|
'field_final_balance': 'final_amount_residual_currency', |
|
|
|
'type': 'amount_currency', |
|
|
|