odoo-13.0/web_oca/web_domain_field/static/lib/js/pyeval.js
// Specialized version of pyeval for domain fields
Specialized version of pyeval for domain fields
Specialized version of pyeval for domain fields
function eval_arg (arg) {
        if (typeof arg !== 'object' || !arg.__ref) {
            return arg;
        }
        switch (arg.__ref) {
        case 'domain': case 'compound_domain':
            return domain_field_pyeval('domains', [arg]);
        case 'context': case 'compound_context':
            return original_pyeval('contexts', [arg]);
        default:
            throw new Error(_t("Unknown nonliteral type ") + ' ' + arg.__ref);
        }
    }
function eval_arg ( arg ) { if ( typeof arg !== 'object' || ! arg . __ref ) { return arg ; } switch ( arg . __ref ) { case 'domain' : case 'compound_domain' : return domain_field_pyeval ( 'domains' , [ arg ] ) ; case 'context' : case 'compound_context' : return original_pyeval ( 'contexts' , [ arg ] ) ; default : throw new Error ( _t ( "Unknown nonliteral type " ) + ' ' + arg . __ref ) ; } }
Specialized version of pyeval for domain fields
Specialized version of pyeval for domain fields