[pep8] - review on account_export_csv, account_move_line_report_xls, account_journal_report_xls, account_financial_report_horizontal, account_financial_report_webkit_xls
parent
b321e2ff68
commit
183027c167
|
@ -19,4 +19,4 @@
|
|||
#
|
||||
##############################################################################
|
||||
|
||||
import wizard
|
||||
from . import wizard
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
'description': """
|
||||
|
||||
Add a wizard that allow you to export a csv file based on accounting
|
||||
journal entries
|
||||
journal entries
|
||||
|
||||
- Trial Balance
|
||||
- Analytic Balance (with accounts)
|
||||
|
@ -38,7 +38,7 @@ journal entries
|
|||
You can filter by period
|
||||
|
||||
TODO: rearange wizard view with only one button to generate file plus
|
||||
define a selection list to select report type
|
||||
define a selection list to select report type
|
||||
""",
|
||||
'website': 'http://www.camptocamp.com',
|
||||
'data': [
|
||||
|
|
|
@ -19,4 +19,4 @@
|
|||
#
|
||||
##############################################################################
|
||||
|
||||
import account_export_csv
|
||||
from . import account_export_csv
|
||||
|
|
|
@ -215,8 +215,8 @@ class AccountCSVExport(orm.TransientModel):
|
|||
Return list to generate rows of the CSV file
|
||||
"""
|
||||
cr.execute(""" select aac.code as analytic_code,
|
||||
aac.name as analytic_name,
|
||||
ac.code,ac.name,
|
||||
aac.name as analytic_name,
|
||||
ac.code,ac.name,
|
||||
sum(debit) as sum_debit,
|
||||
sum(credit) as sum_credit,
|
||||
sum(debit) - sum(credit) as balance
|
||||
|
@ -333,7 +333,6 @@ class AccountCSVExport(orm.TransientModel):
|
|||
account_move_reconcile.name as full_reconcile,
|
||||
account_move_line.reconcile_partial_id AS partial_reconcile_id,
|
||||
account_analytic_account.code AS analytic_account_code,
|
||||
|
||||
account_move.name AS entry_number,
|
||||
account_account.name AS account_name,
|
||||
account_move_line.debit - account_move_line.credit AS balance,
|
||||
|
|
Loading…
Reference in New Issue