You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

163 lines
6.6 KiB

  1. # -*- encoding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # Authors: Nicolas Bessi, Guewen Baconnier
  5. # Copyright Camptocamp SA 2011
  6. #
  7. # This program is free software: you can redistribute it and/or modify
  8. # it under the terms of the GNU Affero General Public License as
  9. # published by the Free Software Foundation, either version 3 of the
  10. # License, or (at your option) any later version.
  11. #
  12. # This program is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU Affero General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Affero General Public License
  18. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. #
  20. ##############################################################################
  21. {
  22. 'name': 'Financial Reports - Webkit',
  23. 'description': """
  24. Financial Reports - Webkit
  25. ==========================
  26. This module adds or replaces the following standard OpenERP financial reports:
  27. - General ledger
  28. - Trial Balance (simple or comparative view)
  29. - Partner ledger
  30. - Partner balance
  31. - Open invoices report
  32. Main improvements per report:
  33. -----------------------------
  34. The General ledger: details of all entries posted in your books sorted by account.
  35. * Filter by account is available in the wizard (no need to go to the
  36. Chart of Accounts to do this anymore) or by View account (the report
  37. will display all regular children accounts) i.e. you can select all
  38. P&L accounts.
  39. * The report only prints accounts with moves OR with a non
  40. null balance. No more endless report with empty accounts (field:
  41. display account is hidden)
  42. * initial balance computation on the fly if no open entry posted
  43. * Thanks to a new checkbox in the account form, you will have the
  44. possibility to centralize any account you like. This means you do
  45. not want to see all entries posted under the account VAT on sales;
  46. you will only see aggregated amounts by periods.
  47. * Counterpart account is displayed for each transaction (3 accounts max.)
  48. to ease searching.
  49. * Better ergonomy on the wizard: important information is displayed in
  50. the top part, filters are in the middle, and options are in the
  51. bottom or on a separate tab. There is more specific filtering on
  52. separate tabs. No more unique wizard layout for all financial
  53. reports (we have removed the journal tab for the GL report)
  54. * improved report style
  55. The partner ledger: details of entries relative to payable &
  56. receivable accounts posted in your books sorted by account and
  57. partner.
  58. * Filter by partner now available
  59. * Now you can see Accounts then Partner with subtotals for each
  60. account allowing you to check you data with trial balance and
  61. partner balance for instance. Accounts are ordered in the same way as
  62. in the Chart of account
  63. * Period have been added (date only is not filled in since date can be
  64. outside period)
  65. * Reconciliation code added
  66. * Subtotal by account
  67. * Alphabetical sorting (same as in partner balance)
  68. Open invoice report : other version of the partner ledger showing
  69. unreconciled / partially reconciled entries.
  70. * Possibility to print unreconciled transactions only at any date in
  71. the past (thanks to the new field: `last_rec_date` which computes
  72. the last move line reconciliation date). No more pain to get open
  73. invoices at the last closing date.
  74. * no initial balance computed because the report shows open invoices
  75. from previous years.
  76. The Trial balance: list of accounts with balances
  77. * You can either see the columns: initial balance, debit, credit,
  78. end balance or compare balances over 4 periods of your choice
  79. * You can select the "opening" filter to get the opening trial balance
  80. only
  81. * If you create an extra virtual chart (using consolidated account) of
  82. accounts for your P&L and your balance sheet, you can print your
  83. statutory accounts (with comparison over years for instance)
  84. * If you compare 2 periods, you will get the differences in values and
  85. in percent
  86. The Partner balance: list of account with balances
  87. * Subtotal by account and partner
  88. * Alphabetical sorting (same as in partner balance)
  89. Limitations:
  90. ------------
  91. In order to run properly this module makes sure you have installed the
  92. library `wkhtmltopdf` for the pdf rendering (the library path must be
  93. set in a System Parameter `webkit_path`).
  94. Initial balances in these reports are based either on opening entry
  95. posted in the opening period or computed on the fly. So make sure
  96. that your past accounting opening entries are in an opening period.
  97. Initials balances are not computed when using the Date filter (since a
  98. date can be outside its logical period and the initial balance could
  99. be different when computed by data or by initial balance for the
  100. period). The opening period is assumed to be the Jan. 1st of the year
  101. with an opening flag and the first period of the year must start also
  102. on Jan 1st.
  103. Totals for amounts in currencies are effective if the partner belongs to
  104. an account with a secondary currency.
  105. HTML headers and footers are deactivated for these reports because of
  106. an issue in wkhtmltopdf
  107. (http://code.google.com/p/wkhtmltopdf/issues/detail?id=656) Instead,
  108. the header and footer are created as text with arguments passed to
  109. wkhtmltopdf. The texts are defined inside the report classes.
  110. """,
  111. 'version': '1.0.2',
  112. 'author': 'Camptocamp',
  113. 'license': 'AGPL-3',
  114. 'category': 'Finance',
  115. 'website': 'http://www.camptocamp.com',
  116. 'images': [
  117. 'images/ledger.png',],
  118. 'depends': ['account',
  119. 'report_webkit'],
  120. 'init_xml': [],
  121. 'demo_xml' : [],
  122. 'update_xml': ['account_view.xml',
  123. 'data/financial_webkit_header.xml',
  124. 'report/report.xml',
  125. 'wizard/wizard.xml',
  126. 'wizard/balance_common_view.xml',
  127. 'wizard/general_ledger_wizard_view.xml',
  128. 'wizard/partners_ledger_wizard_view.xml',
  129. 'wizard/trial_balance_wizard_view.xml',
  130. 'wizard/partner_balance_wizard_view.xml',
  131. 'wizard/open_invoices_wizard_view.xml',
  132. 'wizard/print_journal_view.xml',
  133. 'report_menus.xml',
  134. ],
  135. # tests order matter
  136. 'test': ['tests/general_ledger.yml',
  137. 'tests/partner_ledger.yml',
  138. 'tests/trial_balance.yml',
  139. 'tests/partner_balance.yml',
  140. 'tests/open_invoices.yml',],
  141. #'tests/account_move_line.yml'
  142. 'active': False,
  143. 'installable': True,
  144. 'application': True,
  145. }