← Back to team overview

openerp-india team mailing list archive

[Bug 1012545] Re: [6.1] web evaluate_operator does not parse '<>' operator

 

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

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

Title:
  [6.1] web evaluate_operator does not parse '<>' operator

Status in OpenERP Web:
  New

Bug description:
  
  If any view has attribute with expression like this

  <... attrs="{'invisible':[('state','&lt;&gt;','draft')]}"/>

  this is working normal on gtkclient. But on web client getting errors.

  Uncaught Error: QWeb2 - template['ListView.rows']: Runtime Error:
  Error: QWeb2 - template['ListView.row']: Runtime Error: Error:
  SyntaxError: unknown comparator [[<>]]

  I want to add this expression on
  addons/web/static/lib/py.parse/lib/py.js line 437:

  case '!=': case 'is not': case '<>': return a !== b;

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


References