boolean fields - return icons

Bug #532020 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Report OpenOffice
Fix Released
Wishlist
sraps (Alistek)

Bug Description

wish

pls instead of true and false we need a nationalized conversion function

true - YES
false - NO
null - empty

Changed in report-openoffice:
importance: Undecided → Wishlist
Revision history for this message
sraps (Alistek) (erpsraps) wrote :

There could be several possible variants:
0) displayed as they are;
1) "Yes" | "No" | "" - (can be translated);
2) "Y" | "N" | "" - (can be translated);
3) "+" | "-" | "";
4) "[ + ]" | "[ - ]" | "[ ]";

Some other function could return check-box typefaces from font...

Any other suggestions

As temporary workaround "if" directives can be used.

Revision history for this message
Ferdinand (office-chricar) wrote :

I agree with temporary workaround
nevertheless I think that the report coding becomes crowded using to many if's, hence please add as many functions as possible and meaningfull to ExtraFunctions.py to make coding easy and comfortable. (especially the empty image issue)

Changed in report-openoffice:
status: New → Confirmed
Changed in report-openoffice:
status: Confirmed → In Progress
Changed in report-openoffice:
status: In Progress → Fix Committed
Changed in report-openoffice:
milestone: none → 1.0
assignee: nobody → sraps (KN dati) (erpsraps)
Changed in report-openoffice:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.