Browse Source

[REF] account_financial_report_webkit: more reformatting

pull/7/merge
Alexandre Fayolle @ camptocamp 12 years ago
parent
commit
3dba319995
  1. 4
      account_financial_report_webkit/__openerp__.py
  2. 2
      account_financial_report_webkit/wizard/balance_common.py
  3. 12
      account_financial_report_webkit/wizard/partners_ledger_wizard.py

4
account_financial_report_webkit/__openerp__.py

@ -44,7 +44,7 @@ The General ledger: details of all entries posted in your books sorted by accoun
* The report only prints accounts with moves OR with a non
null balance. No more endless report with empty accounts (field:
display account is hidden)
* initial balance calculation on the fly if no open entry posted
* initial balance computation on the fly if no open entry posted
* Thanks to a new checkbox in the account form, you will have the
possibility to centralize any account you like. This means you do
not want to see all entries posted under the account VAT on sales;
@ -108,7 +108,7 @@ library `wkhtmltopdf` for the pdf rendering (the library path must be
set in a System Parameter `webkit_path`).
Initial balances in these reports are based either on opening entry
posted in the opening period or calculated on the fly. So make sure
posted in the opening period or computed on the fly. So make sure
that your past accounting opening entries are in an opening period.
Initials balances are not computed when using the Date filter (since a
date can be outside its logical period and the initial balance could

2
account_financial_report_webkit/wizard/balance_common.py

@ -89,7 +89,7 @@ class AccountBalanceCommonWizard(orm.TransientModel):
"Filter by",
required=True,
help='Filter by date: no opening balance will be displayed. '
'(opening balance can only be calculated based on period to be correct).'),
'(opening balance can only be computed based on period to be correct).'),
}
for index in range(COMPARISON_LEVEL):

12
account_financial_report_webkit/wizard/partners_ledger_wizard.py

@ -34,10 +34,13 @@ class AccountReportPartnersLedgerWizard(orm.TransientModel):
'amount_currency': fields.boolean("With Currency",
help="It adds the currency column"),
'partner_ids': fields.many2many('res.partner', string='Filter on partner',
help="Only selected partners will be printed. Leave empty to print all partners."),
help="Only selected partners will be printed. "
"Leave empty to print all partners."),
'filter': fields.selection([('filter_no', 'No Filters'),
('filter_date', 'Date'),
('filter_period', 'Periods')], "Filter by", required=True, help='Filter by date : no opening balance will be displayed. (opening balance can only be calculated based on period to be correct).'),
('filter_period', 'Periods')], "Filter by", required=True,
help='Filter by date: no opening balance will be displayed. '
'(opening balance can only be computed based on period to be correct).'),
}
_defaults = {
'amount_currency': False,
@ -51,7 +54,10 @@ class AccountReportPartnersLedgerWizard(orm.TransientModel):
return True
_constraints = [
(_check_fiscalyear, 'When no Fiscal year is selected, you must choose to filter by periods or by date.', ['filter']),
(_check_fiscalyear,
'When no Fiscal year is selected, you must choose to '
'filter by periods or by date.',
['filter']),
]
def onchange_filter(self, cr, uid, ids, filter='filter_no', fiscalyear_id=False, context=None):

Loading…
Cancel
Save