コード例 #1
0
ファイル: ir_rule.py プロジェクト: Vauxoo/odoo
 def _eval_context_for_combinations(self):
     """Returns a dictionary to use as evaluation context for
        ir.rule domains, when the goal is to obtain python lists
        that are easier to parse and combine, but not to
        actually execute them."""
     return {'user': tools.unquote('user'),
             'time': tools.unquote('time')}
コード例 #2
0
 def _eval_context_for_combinations(self):
     """Returns a dictionary to use as evaluation context for
        ir.rule domains, when the goal is to obtain python lists
        that are easier to parse and combine, but not to
        actually execute them."""
     return {'user': tools.unquote('user'),
             'time': tools.unquote('time')}