From 24885f3e3ea3720e51eb880826b1caae91c83588 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Thu, 10 Sep 2020 09:42:05 +0200 Subject: [PATCH 1/2] [ADD] text regarding OCA sponsoring program --- tests/data/readme_tests/addon1/README.expected-oca | 5 +++++ .../readme_tests/addon_one_maintainer/README.expected-oca | 5 +++++ .../readme_tests/addon_two_maintainers/README.expected-oca | 5 +++++ tools/gen_addon_readme.template | 6 ++++++ 4 files changed, 21 insertions(+) diff --git a/tests/data/readme_tests/addon1/README.expected-oca b/tests/data/readme_tests/addon1/README.expected-oca index 34700600a..670e1fdac 100644 --- a/tests/data/readme_tests/addon1/README.expected-oca +++ b/tests/data/readme_tests/addon1/README.expected-oca @@ -120,6 +120,11 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. +If you liked this module, please consider supporting the OCA, for that purpose you can go to: + +* https://github.com/sponsors/OCA +* https://odoo-community.org/page/become-a-sponsor + This module is part of the `OCA/server-tools `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/tests/data/readme_tests/addon_one_maintainer/README.expected-oca b/tests/data/readme_tests/addon_one_maintainer/README.expected-oca index a27cb641d..1a18c0213 100644 --- a/tests/data/readme_tests/addon_one_maintainer/README.expected-oca +++ b/tests/data/readme_tests/addon_one_maintainer/README.expected-oca @@ -70,6 +70,11 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. +If you liked this module, please consider supporting the OCA, for that purpose you can go to: + +* https://github.com/sponsors/OCA +* https://odoo-community.org/page/become-a-sponsor + .. |maintainer-toto| image:: https://github.com/toto.png?size=40px :target: https://github.com/toto :alt: toto diff --git a/tests/data/readme_tests/addon_two_maintainers/README.expected-oca b/tests/data/readme_tests/addon_two_maintainers/README.expected-oca index 0a60585e6..af7dd71fb 100644 --- a/tests/data/readme_tests/addon_two_maintainers/README.expected-oca +++ b/tests/data/readme_tests/addon_two_maintainers/README.expected-oca @@ -63,6 +63,11 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. +If you liked this module, please consider supporting the OCA, for that purpose you can go to: + +* https://github.com/sponsors/OCA +* https://odoo-community.org/page/become-a-sponsor + .. |maintainer-toto| image:: https://github.com/toto.png?size=40px :target: https://github.com/toto :alt: toto diff --git a/tools/gen_addon_readme.template b/tools/gen_addon_readme.template index acfb89c5f..7a638da66 100644 --- a/tools/gen_addon_readme.template +++ b/tools/gen_addon_readme.template @@ -83,6 +83,12 @@ This module is maintained by the OCA. OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. + +If you liked this module, please consider supporting the OCA, for that purpose you can go to: + +* https://github.com/sponsors/OCA +* https://odoo-community.org/page/become-a-sponsor + {%- endif %} {%- if manifest.maintainers %} From 6d2216a618493821af3f828282736ed57f498120 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Thu, 10 Sep 2020 10:43:52 +0200 Subject: [PATCH 2/2] Update tools/gen_addon_readme.template Co-authored-by: Pedro M. Baeza --- tools/gen_addon_readme.template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/gen_addon_readme.template b/tools/gen_addon_readme.template index 7a638da66..1ff0cf6ca 100644 --- a/tools/gen_addon_readme.template +++ b/tools/gen_addon_readme.template @@ -84,7 +84,7 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -If you liked this module, please consider supporting the OCA, for that purpose you can go to: +If you liked this module, please consider supporting the OCA. For more information, check: * https://github.com/sponsors/OCA * https://odoo-community.org/page/become-a-sponsor @@ -116,4 +116,3 @@ You are welcome to contribute. To learn how please visit https://odoo-community. You are welcome to contribute. {%- endif %} -