← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 670472] Re: `states` attribute is not handled on all widgets for which it is valid

 

Hello,

Its fixed in trunk web-client with the following revision. Please update your code.
3857 sma@xxxxxxxxxxx-20101111084427-5rpc96xxl2h03g7z

Thanks.

-- 
`states` attribute is not handled on all widgets for which it is valid
https://bugs.launchpad.net/bugs/670472
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: Confirmed

Bug description:
Setting the states works on buttons, but according to .rng file it is also a valid attribute on groups and fields.

This feature is already used in some views, but does not work in the web client

Example:

Go to Administration -> Modules -> Import Module

There are two rows of buttons, each in a group with a `states` attribute correctly defined.

Expected:
As in the GTK client, we should only see one row of buttons (and one horizontal separator) at a time

Observed:
Both groups of buttons (and separators) are visible






References