Answers for "odoo combined logical operators in domain"

0

odoo combined logical operators in domain

# ‘which are services OR have a unit price which is NOT between 1000 and 2000’:
['|',
    ('product_type', '=', 'service'),
    '!', '&',
        ('unit_price', '>=', 1000),
        ('unit_price', '<', 2000)]
Posted by: Guest on July-03-2021

Code answers related to "odoo combined logical operators in domain"

Browse Popular Code Answers by Language