erp5_accounting_experimental
Reporting tools
AccountingTransaction_getTwoSideTransactionLineList
The purpose of this is to reshuffle transaction lines so that they match line by line, like some accountants wants to see them in reports.
E.g. if we have:
gap |
debit |
credit |
100 |
70.00 |
|
130 |
30.00 |
|
234 |
|
100.00 |
we want:
gap_debit |
gap_credit |
amount |
100 |
234 |
70.00 |
130 |
234 |
30.00 |
And if we have:
gap |
debit |
credit |
300 |
50.00 |
|
223 |
10.00 |
|
201 |
|
20.00 |
100 |
|
40.00 |
we want:
gap_debit |
gap_credit |
amount |
300 |
201 |
20.00 |
300 |
100 |
30.00 |
223 |
100 |
10.00 |
Accounting report macro library
accounting_report_header accounting_report_macro_library accounting_report_styles_cell accounting_report_styles_numbers
A set of macros containing report headers (like dates, workflow states, portal types etc) and styles, so that a report can be easily build entirely in ZMI, without having to upload an ODF file and then wade through eye-mangling XML.
Contains a sample report AccountingTransactionModule_sampleReportUsingLibrary which (in theory) should by itself explain everything.
The structure can be extended into more details, so that for example content row lines are also defined as macros and inserted the same way header lines are - a definition of a data dict and a call to a macro. It is to be discussed if this is worthwhile.
Also the idea could be extended the opposite way, into a generic report library (not necessarily accounting).
Currency declination toolset
(TBD by MikoĊaj)