Styles and options for list columns as for whole rows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Web Team |
Bug Description
In the view architecture for tree views the <tree>-tag may have the attributes "colors", "fonts" and "options". This is good to show e.g. the state of the whole business object e.g. if it is canceled or payed.
In some cases I want to format a single column on a specific condition. E.g. gray out the whole record if it is canceled and underline the name if the partner's name is not the company's name. Furthermore I want to style the background (and maybe more).
Thanks to the code design in view_list.js this is not to hard to implement. We need a new MixIn some copy'n'paste.
See attachment for details.
Btw.: In instance.
if (attrs.options !== undefined) { del attrs.options; }
Hello Daniel,
I was feeling like GTK-client behavior during check your Issue. It's good Implementation as per the usability point of view.
But this is not a bug but rather than it's your suggestion to Impalement this things.
So we can consider this is as your suggestion and considering it as a "Wishlist". and Let the team to take decision on it.
Thanks for the reporting!