I understand that this function has been deprecated and removed from the 
code but the point is that there are final users for whom this is a 
requirement. We should give them the possibility to chose what they want 
for their usability and accessibility if they consider is good for them. 

In this case the final user is demanding this option. Please help me to 
fullfill his requirement. 

I restored all the removed code indicated at the changeset 
http://hg.tryton.org/trytond/rev/f21ba9c81eb6, but when adding the 
following @classmethod for testing to the class Appointment the elements in 
the tree view are in black color, and they should be in red color.

    @classmethod
    def view_attributes(cls):
        return [('/tree', 'colors', 'red')]

Thanks in advanced


El jueves, 30 de marzo de 2017, 14:05:05 (UTC+1), Cédric Krier escribió:
>
> On 2017-03-30 04:56, Carlos Ibrahim Arias wrote: 
> > I tried to restore the color attribute adding back all the removed lines 
> > but I'm getting the following error: 
> > 
> > Anyone can help? 
>
> I doubt you will find any help to restore a feature that was decided to 
> remove. Instead I can suggest you to use icons instead of colors. They 
> are better for accessibility because they are readable for blind people 
> and they can express an exact meaning. 
>
> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: cedric...@b2ck.com <javascript:> 
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/3ba7bf01-dd4e-4775-ae81-a02d04f7056f%40googlegroups.com.

Reply via email to