Browse Source

[FIX]account_financial_report_webkit_xls: pep8

pull/23/head
Anthony Muschang 10 years ago
parent
commit
d2800c0633
  1. 4
      account_financial_report_webkit_xls/report/general_ledger_xls.py
  2. 2
      account_financial_report_webkit_xls/report/open_invoices_xls.py
  3. 4
      account_financial_report_webkit_xls/report/partner_ledger_xls.py
  4. 6
      account_financial_report_webkit_xls/report/partners_balance_xls.py
  5. 4
      account_financial_report_webkit_xls/report/trial_balance_xls.py

4
account_financial_report_webkit_xls/report/general_ledger_xls.py

@ -98,8 +98,8 @@ class general_ledger_xls(report_xls):
('df', 3, 0, 'text', _p.filter_form(data) == ('df', 3, 0, 'text', _p.filter_form(data) ==
'filter_date' and _('Dates Filter') or _('Periods Filter')), 'filter_date' and _('Dates Filter') or _('Periods Filter')),
('af', 1, 0, 'text', _('Accounts Filter')), ('af', 1, 0, 'text', _('Accounts Filter')),
('tm', 2, 0, 'text', _('Target Moves')),
('ib', 2, 0, 'text', _('Initial Balance')),
('tm', 2, 0, 'text', _('Target Moves')),
('ib', 2, 0, 'text', _('Initial Balance')),
] ]
row_data = self.xls_row_template(c_specs, [x[0] for x in c_specs]) row_data = self.xls_row_template(c_specs, [x[0] for x in c_specs])

2
account_financial_report_webkit_xls/report/open_invoices_xls.py

@ -639,7 +639,7 @@ class open_invoices_xls(report_xls):
None, self.style_account_title_right), None, self.style_account_title_right),
] ]
else: else:
c_specs += [('cumul_bal_curr', 1, 0, 'text', "-", None,
c_specs += [('cumul_bal_curr', 1, 0, 'text', "-", None,
self.style_account_title_right), self.style_account_title_right),
('curr_name', 1, 0, 'text', "", ('curr_name', 1, 0, 'text', "",
None, self.style_account_title_right) None, self.style_account_title_right)

4
account_financial_report_webkit_xls/report/partner_ledger_xls.py

@ -100,8 +100,8 @@ class partner_ledger_xls(report_xls):
('df', 2, 0, 'text', _p.filter_form(data) == ('df', 2, 0, 'text', _p.filter_form(data) ==
'filter_date' and _('Dates Filter') or _('Periods Filter')), 'filter_date' and _('Dates Filter') or _('Periods Filter')),
('af', 1, 0, 'text', _('Accounts Filter')), ('af', 1, 0, 'text', _('Accounts Filter')),
('tm', 2, 0, 'text', _('Target Moves')),
('ib', nbr_columns - 8, 0, 'text', _('Initial Balance')),
('tm', 2, 0, 'text', _('Target Moves')),
('ib', nbr_columns - 8, 0, 'text', _('Initial Balance')),
] ]
row_data = self.xls_row_template(c_specs, [x[0] for x in c_specs]) row_data = self.xls_row_template(c_specs, [x[0] for x in c_specs])

6
account_financial_report_webkit_xls/report/partners_balance_xls.py

@ -71,10 +71,10 @@ class partners_balance_xls(report_xls):
('df', 1, 0, 'text', _p.filter_form(data) == 'filter_date' and _( ('df', 1, 0, 'text', _p.filter_form(data) == 'filter_date' and _(
'Dates Filter') or _('Periods Filter'), None, 'Dates Filter') or _('Periods Filter'), None,
cell_style_center), cell_style_center),
('pf', 1, 0, 'text', _('Partners Filter'),
('pf', 1, 0, 'text', _('Partners Filter'),
None, cell_style_center), None, cell_style_center),
('tm', 1, 0, 'text', _('Target Moves'), None, cell_style_center),
('ib', 1, 0, 'text', _('Initial Balance'),
('tm', 1, 0, 'text', _('Target Moves'), None, cell_style_center),
('ib', 1, 0, 'text', _('Initial Balance'),
None, cell_style_center), None, cell_style_center),
('coa', 1, 0, 'text', _('Chart of Account'), ('coa', 1, 0, 'text', _('Chart of Account'),
None, cell_style_center), None, cell_style_center),

4
account_financial_report_webkit_xls/report/trial_balance_xls.py

@ -80,8 +80,8 @@ class trial_balance_xls(report_xls):
('af', 2, 0, 'text', _('Accounts Filter')), ('af', 2, 0, 'text', _('Accounts Filter')),
('df', 1, 0, 'text', _p.filter_form(data) == ('df', 1, 0, 'text', _p.filter_form(data) ==
'filter_date' and _('Dates Filter') or _('Periods Filter')), 'filter_date' and _('Dates Filter') or _('Periods Filter')),
('tm', 2, 0, 'text', _('Target Moves'), None, cell_style_center),
('ib', 1, 0, 'text', _('Initial Balance'),
('tm', 2, 0, 'text', _('Target Moves'), None, cell_style_center),
('ib', 1, 0, 'text', _('Initial Balance'),
None, cell_style_center), None, cell_style_center),
('coa', 1, 0, 'text', _('Chart of Account'), ('coa', 1, 0, 'text', _('Chart of Account'),
None, cell_style_center), None, cell_style_center),

Loading…
Cancel
Save