Public bug reported:

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;

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

-- 
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 Addons (modules):
  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/openobject-addons/+bug/1012545/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to