← Back to team overview

openerp-india team mailing list archive

[Bug 1088258] Re: attrs is not properly rendered on the web client when set from fields_view_get

 

Hello hbto,

It seems that the server returns view architecture with correct
modifiers, but web can't handle the modifiers correctly.

Thanks,
Divyesh


** Changed in: openobject-server
       Status: New => Confirmed

** Project changed: openobject-server => openerp-web

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

Title:
  attrs is not properly rendered on the web client when set from
  fields_view_get

Status in OpenERP Web:
  Confirmed

Bug description:
  Let's say that we want to set the vat field on res.partner to required
  when the partner being filled out is a company

  so you would use the statement to assing the and attribute to the
  node:

  
  node.set('attrs',"{'required':[('is_company','=',True)]}" )

  but this attribute is not properly rendered by the web client, or at
  least is not handled,

  I know this is a simple case, but sometime you need modify the view
  according to others requirements.

  
  Thanks in advance.

  Hbto

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/1088258/+subscriptions


References