From a9395be64064a359e7bb923a2666a9183afdbb0c Mon Sep 17 00:00:00 2001 From: "Eric @ Elico Corp" Date: Tue, 19 Feb 2019 16:59:22 +0800 Subject: [PATCH 1/4] Add Apps store link if OCA --- tools/gen_addon_readme.template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/gen_addon_readme.template b/tools/gen_addon_readme.template index a4d1d2020..f8588247d 100644 --- a/tools/gen_addon_readme.template +++ b/tools/gen_addon_readme.template @@ -95,7 +95,9 @@ Current maintainer{% if manifest.maintainers|length > 1 %}s{% endif %}: This module is part of the `{{ org_name }}/{{ repo_name }} `_ project on GitHub. {% if org_name == 'OCA' -%} -You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. +Discover all OCA modules in the `Official OCA Apps store `_ + +You are welcome to contribute. To learn how to, please visit https://odoo-community.org/page/Contribute. {%- else -%} You are welcome to contribute. From 6adfeca7d7f33045f433d108b4ad90a0e0d90896 Mon Sep 17 00:00:00 2001 From: "Eric @ Elico Corp" Date: Wed, 20 Feb 2019 17:09:12 +0800 Subject: [PATCH 2/4] Inversing the lines --- tools/gen_addon_readme.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gen_addon_readme.template b/tools/gen_addon_readme.template index f8588247d..33602bb29 100644 --- a/tools/gen_addon_readme.template +++ b/tools/gen_addon_readme.template @@ -95,10 +95,10 @@ Current maintainer{% if manifest.maintainers|length > 1 %}s{% endif %}: This module is part of the `{{ org_name }}/{{ repo_name }} `_ project on GitHub. {% if org_name == 'OCA' -%} -Discover all OCA modules in the `Official OCA Apps store `_ - You are welcome to contribute. To learn how to, please visit https://odoo-community.org/page/Contribute. +Discover all OCA modules in the `Official OCA Apps store `_ + {%- else -%} You are welcome to contribute. From a434b53fd08d172c8327dbb0315bb6d600858867 Mon Sep 17 00:00:00 2001 From: "Eric @ Elico Corp" Date: Wed, 20 Feb 2019 17:09:59 +0800 Subject: [PATCH 3/4] remove modification to reduce diff --- tools/gen_addon_readme.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gen_addon_readme.template b/tools/gen_addon_readme.template index 33602bb29..44be5e0b7 100644 --- a/tools/gen_addon_readme.template +++ b/tools/gen_addon_readme.template @@ -95,7 +95,7 @@ Current maintainer{% if manifest.maintainers|length > 1 %}s{% endif %}: This module is part of the `{{ org_name }}/{{ repo_name }} `_ project on GitHub. {% if org_name == 'OCA' -%} -You are welcome to contribute. To learn how to, please visit https://odoo-community.org/page/Contribute. +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. Discover all OCA modules in the `Official OCA Apps store `_ From 8714ca9eb75ed0203d11e4fce49967559c45d6a1 Mon Sep 17 00:00:00 2001 From: "Eric @ Elico Corp" Date: Wed, 20 Feb 2019 17:10:32 +0800 Subject: [PATCH 4/4] Removing extra line --- tools/gen_addon_readme.template | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/gen_addon_readme.template b/tools/gen_addon_readme.template index 44be5e0b7..520aadb8d 100644 --- a/tools/gen_addon_readme.template +++ b/tools/gen_addon_readme.template @@ -98,7 +98,6 @@ This module is part of the `{{ org_name }}/{{ repo_name }} `_ - {%- else -%} You are welcome to contribute.