标签:use like static 有一个 select operator 映射关系 project main
源码js中有一个映射关系:
C:\Users\dev01\gitproject\odoo12\addons\web\static\src\js\widgets\domain_selector.js
var operator_mapping = { "=": "=", "!=": _lt("is not ="), ">": ">", "<": "<", ">=": ">=", "<=": "<=", "ilike": _lt("contains"), "not ilike": _lt("does not contain"), "in": _lt("in"), "not in": _lt("not in"), "child_of": _lt("child of"), "parent_of": _lt("parent of"), "like": "like", "not like": "not like", "=like": "=like", "=ilike": "=ilike", // custom "set": _lt("is set"), "not set": _lt("is not set"), };
标签:use like static 有一个 select operator 映射关系 project main
原文地址:https://www.cnblogs.com/qianxunman/p/12133069.html