c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17887
[Bug 724823] Re: [6.0.1] Field / button 'attrs' not evaluated correctly with invisible
The problem occurs when you press 'Enter' to select an item, instead of 'Tab' as you do in your video.
I have also attached a video to reproduce the bug.
Can you reopen it?
** Attachment added: "Project_issue.ogv"
https://bugs.launchpad.net/openobject-client-web/+bug/724823/+attachment/1878261/+files/Project_issue.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