Public bug reported:

It seems that the tree view is ignoring the "attrs" field propoerty.
In project_issue module, I copied the "Create task" button from the form to the 
tree view:
<button name="convert_issue_task" string="Convert To Task" icon="gtk-index" 
type="object" attrs="{'invisible':[('task_id','!=',False)]}" states="draft" />

However, in tree view the button is always enabled, ignoring the
condition in "attrs". In the form view, it works perfectly.

I'm using the webclient 6.0.3 and the browser is Chrome.

** Affects: openobject-client-web
     Importance: Undecided
         Status: New


** Tags: attrs field tree webclient

-- 
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/903284

Title:
  Tree view ignores field "attrs"

Status in OpenERP Web Client:
  New

Bug description:
  It seems that the tree view is ignoring the "attrs" field propoerty.
  In project_issue module, I copied the "Create task" button from the form to 
the tree view:
  <button name="convert_issue_task" string="Convert To Task" icon="gtk-index" 
type="object" attrs="{'invisible':[('task_id','!=',False)]}" states="draft" />

  However, in tree view the button is always enabled, ignoring the
  condition in "attrs". In the form view, it works perfectly.

  I'm using the webclient 6.0.3 and the browser is Chrome.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/903284/+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

Reply via email to