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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Dự án
- MRP
Câu hỏi này đã bị gắn cờ
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký