Hello Denis,
I have checked this issue with latest code of new web client 6.1 and did not
face any problem.
I have checked this is company id field of analytic account object form where
following code is used for 'attrs' execution in view file.
<field name="company_id" on_change="on_change_company(company_id)" select="2"
widget="selection" groups="base.group_multi_company" attrs="{'required':
[('type','<>','view')]}"/>
Would you please check this again with latest code, I am using '1024
[email protected]' revision
of web client.
Currently I am closing this issue you can reopen this If you still
facing the same problem.
I am attaching the related screenshots for your reference.
** Attachment added: "First one"
https://bugs.launchpad.net/openerp-web/+bug/843851/+attachment/2401151/+files/Normal_selection_company_required.png
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/843851
Title:
conditions in XML "attrs" attribute triggered too late. Need to
trigger these conditions at the same time when "on_change" event
triggered
Status in OpenERP Web:
Invalid
Bug description:
I want to change value of field to False and value of attribute
"readonly" to True for this field, depending on the value of another
field (type=many2one). Value of field changes instantly by "on_change"
function, but value of attribute "readonly" changes only when search
form of another field opened and closed
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/843851/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp