diff --git a/README.md b/README.md index 03f8113..14af637 100644 --- a/README.md +++ b/README.md @@ -30,13 +30,13 @@ dav: user: odoo2carddav password: # 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. diff --git a/config.yml.sample b/config.yml.sample index 61f9e4b..fabef96 100644 --- a/config.yml.sample +++ b/config.yml.sample @@ -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: # 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