← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
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 Server:
  New

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/openobject-server/+bug/1088258/+subscriptions


Follow ups

References