Bug Tracker Incident #8742
Assume you have a working environment, let's say a restaurant, with about 40 or more reports. When the restaurant moves to another street, do I have to edit all 40+ reports to change the address? Wouldn't it be nice to have some globals?
Additionally some global available colors would be nice too, wouldn't it?
Storing additional color and formatting information in the report definition does make sense, but shared data and sql statements between reports should be extracted from a database that the reports connect to. That is the "directory" solution you speak of.
Our xtreewidget subclass of Qt''s qtreewidget used in xTuple ERP provides a mechanism to specify formatting roles such that the query itself can define locale handling, colors and other attributes (http://www.xtuple.org/UsingTheXTreeWidget). At some point we need to bring that into OpenRPT as well.
You''re suggesting some kind of "include" files for shared info. It may be useful, i don''t know. Still, the more "natural" way of sharing parameters would be to use the database - and that could be extended to colors.
In theory that would help a bit, yes. And the pre-defined colors? They are stored in the xml files, as other things have to be stored there too. That leads to the question if it is possible to group some reports together to share some informations.
> When the restaurant moves to another street, do I have to edit all 40+ reports to change the address?
The address could be stored in the database, or in parameters ...?
|Incident||355||Customer w/ multiple invoice addresses||Parent||x|
|Project||OPENRPT||Ported From Mantis||x|
SubscribersYou do not have permission to view subscribers.
No history available