Browse Source

Small refacts

pull/55/head
Guillaume Auger 9 years ago
parent
commit
c602b249f4
  1. 1
      account_move_line_report_xls/report/__init__.py
  2. 6
      account_move_line_report_xls/report/move_line_list_xls.py

1
account_move_line_report_xls/report/__init__.py

@ -21,4 +21,3 @@
##############################################################################
from . import move_line_list_xls

6
account_move_line_report_xls/report/move_line_list_xls.py

@ -136,9 +136,9 @@ class move_line_xls(report_xls):
[1, 0,
_render("line.date_maturity and 'date' or 'text'"),
_render(
"line.date_maturity \
and datetime.strptime(line.date_maturity,'%Y-%m-%d') \
or None"),
"line.date_maturity"
" and datetime.strptime(line.date_maturity,'%Y-%m-%d')"
" or None"),
None, self.aml_cell_style_date],
'totals': [1, 0, 'text', None]},
'debit': {

Loading…
Cancel
Save