Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tools/gen_addon_readme.rst.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
{% endif %}
{%- endmacro -%}

=======
.. image:: https://odoo-community.org/web/image/4610395-7254fada/OCA_banner_readme_1256x150px.png
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use a nice stable URL here and set up a redirect on the website? In case our website changes we would not want to break existing READMEs.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @sbidoul !
This URL was created when we uploaded the image png on the current OCA Website.
In order to have a stable URL for this image I suppose that we would need a module on the current Odoo ERP that creates a route with for example https://odoo-community.org/oca-readme-banner.png ?
Or is there a more simple way of adding a media on a specific URL in Odoo V14?
Thx !

:target: https://odoo-community.org/get-involved?ref=k8vx13&utm_source=referral-readme&utm_medium=referral
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is "ref=k8vx13" ? Also here should we not use a stable URL in case the details of our website change in the future?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sbidoul , here the base URL will be stable https://odoo-community.org/get-involved and we should update each year the referal part of the URL (?ref=k8vx13&utm_source=referral-readme&utm_medium=referral) in the readme repo. If this is not possible (updating the maintainer-tools each year), we should see with @vdewulf to drop the referal part of the url and keep only the base part of the url. This referal part is used for tracking info about the visits on the /get-involved page, to be sure that the visit comes from the readme banner.
@sbidoul, do you think we should avoid updating URL each year ?

:alt: Odoo Community Association

=======

{{ '=' * manifest.name|length }}
{{ manifest.name }}
{{ '=' * manifest.name|length }}
Expand Down
Loading