El 21/11/14 a les 17:38, Nicolas Évrard ha escrit:
Hello,
Printing the general ledger can sometimes print a huge number of lines
that might not be interesting. For example stock accounting entries
when doing anglo-saxon stock accounting.
So we're playing with the idea of having a boolean on the account
stating whether or not the account moves should be displayed.
Here is the review: http://codereview.tryton.org/13711002
Do you have any comments on this feature? Is there any shortcomings I
haven't though about?
We have a diferent aproach on account_jasper_reports module.
The wizard to print general ledger (and other reports), have a Many2Many
to accounts [1] , and if it's filled it only prints the data for this
accounts [2]. This is more flexible, as it allows to customize the
report directly from the wizard and not requiring the accounts to be
modified.
What do you think about taking a similar aproach?
[1]
https://bitbucket.org/trytonspain/trytond-account_jasper_reports/src/af236548182aeef3a8d93e878c801d82ca54603d/general_ledger.py?at=default#cl-35
[2]
https://bitbucket.org/trytonspain/trytond-account_jasper_reports/src/af236548182aeef3a8d93e878c801d82ca54603d/general_ledger.py?at=default#cl-165
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk