← Back to team overview

openerp-india team mailing list archive

[Bug 1038925] Re: [6.1, trunk] stock.tracking tree view color attrb bug

 

Hello Paulius,

I have checked your issue.you can try with this code

     <tree colors="grey:active == False" string="Packs">
     <field name="active" invisible="1"/>

this may helps you..

Thanks..!!!

** Changed in: openobject-addons
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1038925

Title:
  [6.1, trunk] stock.tracking tree view color attrb bug

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  I have tried to add many2many field which point to stock.tracking model and got error on the web client:
  "Uncaught TypeError: Cannot read property 'id' of undefined".

  Finally found that <tree colors="grey:not active" string="Packs">
  color defined for the stock.tracking tree don't work correctly, like
  expected.

  BTW, seems "grey:not active" don't give grey color on the Packs list
  for not active records too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1038925/+subscriptions


References