# HG changeset patch # User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr> # Date 1571313376 -7200 # Thu Oct 17 13:56:16 2019 +0200 # Node ID aa6540ed6a2f6128d12b5c4b7db02b440d941d07 # Parent a44ec8c6a8f6d427f29c1b4e1c8f47f0f6cc4df8 :sparkles: list modules when updating duplicate sources That way, the duplicate can contain the file odoo_modules_list. diff --git a/update_duplicate_sources b/update_duplicate_sources --- a/update_duplicate_sources +++ b/update_duplicate_sources @@ -14,6 +14,8 @@ source_name=${project_name}_sources +$here/list_modules + odoo_modules=($($python -B -c "import ConfigParser ; c = ConfigParser.ConfigParser() ; c.read('${project_home}/setup.cfg') ; print(c.has_section('odoo_scripts') and c.has_option('odoo_scripts', 'modules') and ' '.join(c.get('odoo_scripts', 'modules', '').split()) or '' )")) dependencies=($($python -B -c "import ConfigParser ; c = ConfigParser.ConfigParser() ; c.read('${project_home}/setup.cfg') ; print(c.has_section('odoo_scripts') and c.has_option('odoo_scripts', 'dependencies') and ' '.join(c.get('odoo_scripts', 'dependencies', '').split()) or '' )")) other_sources=($($python -B -c "import ConfigParser ; c = ConfigParser.ConfigParser() ; c.read('${project_home}/setup.cfg') ; print(c.has_section('odoo_scripts') and c.has_option('odoo_scripts', 'other_sources') and ' '.join(c.get('odoo_scripts', 'other_sources', '').split()) or '' )"))