Fix False value in filters
This commit is contained in:
parent
ea91623e49
commit
3cf76ea6bb
|
@ -12,6 +12,8 @@ odoo:
|
||||||
database: odoo
|
database: odoo
|
||||||
# A list of filters to limit contacts returned by odoo
|
# A list of filters to limit contacts returned by odoo
|
||||||
# Note : filters can only be set in a config file (not available as env var or cli arg)
|
# Note : filters can only be set in a config file (not available as env var or cli arg)
|
||||||
|
# Also, if you need to set a False value, use 0, else perl will interpret False as a string,
|
||||||
|
# which will evaluate as True (for example, use ["is_company", "=", 0])
|
||||||
filters:
|
filters:
|
||||||
- ["country_code", "=", "FR"]
|
- ["country_code", "=", "FR"]
|
||||||
- ["name", "ilike", "berteaud"]
|
- ["name", "ilike", "berteaud"]
|
||||||
|
|
|
@ -27,7 +27,7 @@ my $conf = {
|
||||||
password => undef,
|
password => undef,
|
||||||
database => undef,
|
database => undef,
|
||||||
filters => [
|
filters => [
|
||||||
["is_company", "=", "False"]
|
["is_company", "=", 0]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
dav => {
|
dav => {
|
||||||
|
|
Loading…
Reference in New Issue