c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17918
[Bug 724823] Re: [6.0.1] Field / button 'attrs' not evaluated correctly with invisible
Hello Olivier Ligot ,
I have tested this problem again with the help of ' Enter ' Button,
But still did not reproduce it at my end.
For your reference I have attached one video.
Thanks
** Attachment added: "project_issue_2.ogv"
https://bugs.launchpad.net/openobject-client-web/+bug/724823/+attachment/1878405/+files/project_issue_2.ogv
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/724823
Title:
[6.0.1] Field / button 'attrs' not evaluated correctly with invisible
Status in OpenERP Web Client:
Invalid
Bug description:
Field / button 'attrs' is not evaluated correctly with invisible when the search condition is on a many2one field.
The GTK client does not have this issue.
As an example, see module project_issue, in project_issue_view.xml:
<button string="Convert To Task" name="convert_issue_task" icon="gtk-index" type="object" attrs="{'invisible':[('task_id','!=',False)]}" />
<field name="progress" colspan="3" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}"/>
1) Steps to reproduce the issue:
- create a new database with demo data
- install the module project_issue
- go to Project -> Issues
- edit the second item
- focus the task_id (Task) field
- type cust
- select the item 'Customer doc'
2) Result observed:
The button 'Convert To Task' is still visible and the field 'progress' is still invisible
3) Result expected:
The button 'Convert To Task' becomes invisible and the field 'progress' becomes visible
4) Web browsers:
- Google Chrome 9.0.597.98
- Mozilla Firefox 3.6.13
Platform: Ubuntu 9.10
5) Web client version: tag 6.0.1
References