Fix False value in filters
This commit is contained in:
parent
ea91623e49
commit
3cf76ea6bb
|
@ -12,6 +12,8 @@ odoo:
|
|||
database: 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)
|
||||
# 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:
|
||||
- ["country_code", "=", "FR"]
|
||||
- ["name", "ilike", "berteaud"]
|
||||
|
|
|
@ -27,7 +27,7 @@ my $conf = {
|
|||
password => undef,
|
||||
database => undef,
|
||||
filters => [
|
||||
["is_company", "=", "False"]
|
||||
["is_company", "=", 0]
|
||||
]
|
||||
},
|
||||
dav => {
|
||||
|
|
Loading…
Reference in New Issue