c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17868
[Bug 724823] Re: [6.0.1] Field / button 'attrs' not evaluated correctly with invisible
Hello Olivier Ligot ,
I have tested your 'attrs' problem with latest stable v6 at my end. But all are working fine.
So I am closing this bug. If you still face the problem then you can reopen it.
I have attached a video for your reference, so please check it.
Thank You.
** Changed in: openobject-client-web
Status: New => Invalid
--
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