Skip to Content
Menu
This question has been flagged
1 Reply
4666 Views

I add README.rst file to my custom module root directory and want to insert a image for better describing.

According to the reStructuredText Directives, I insert the line of ".. image:: static/images/screenshoot.png" into README.rst And place the screenshoot.png exactly into "module_root_directory/static/images/". However, the image wasn't visible when I open the details page of my module.

So, How to edit my README.rst file to fix this issue?

Thanks.

Avatar
Discard
Best Answer

The file /static/description/index.html and  field 'description' in you __manifest__.py file have priority against your README.rst file, then:

You need check:

    In folder /static/description remove index.html file

    In file __manifest__.py remove 'description' field (not only the content, the key 'description' also')

Then restart odoo server and Update App List


To show images, follow this sample in your README.rst file:

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org


Avatar
Discard