Use true/false and not True/False for YAML::XS to map it to bool
This commit is contained in:
parent
3cf76ea6bb
commit
4c071925d7
|
@ -30,13 +30,13 @@ dav:
|
|||
user: odoo2carddav
|
||||
password: <password for the dav server>
|
||||
# If true, then contacts which exists on the carddav server, but not in odoo will be deleted
|
||||
delete: True
|
||||
delete: true
|
||||
|
||||
path:
|
||||
# Local directory where the script will build vcards. Defaults is to use mkdtemp using /tmp/odoo2carddav.XXXXX as template
|
||||
workdir: /tmp/odoo2carddav
|
||||
# If True, vcards won't be deleted from the workdir when the script is finished
|
||||
keep_vcard: True
|
||||
keep_vcard: true
|
||||
```
|
||||
|
||||
If odoo.password or dav.password is not defined, it'll be prompted when you run the script.
|
||||
|
|
|
@ -12,8 +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])
|
||||
# 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"]
|
||||
|
@ -25,11 +25,11 @@ dav:
|
|||
user: odoo2carddav
|
||||
password: <password for the dav server>
|
||||
# If true, then contacts which exists on the carddav server, but not in odoo will be deleted
|
||||
delete: True
|
||||
delete: true
|
||||
|
||||
path:
|
||||
# Local directory where the script will build vcards. Defaults is to use mkdtemp using /tmp/odoo2carddav.XXXXX as template
|
||||
workdir: /tmp/odoo2carddav
|
||||
# If True, vcards won't be deleted from the workdir when the script is finished
|
||||
keep_vcard: True
|
||||
keep_vcard: true
|
||||
|
||||
|
|
Loading…
Reference in New Issue