I've recently finished porting this module:
https://github.com/OdooCommunityWidgets/product_image_list_view
from the version 7.0 branch detailed in the following forum post:
https://www.odoo.com/forum/help-1/question/odoo-7-how-can-i-add-images-in-sale-oder-line-or-in-treeview-generally-483
There was an unresolved issue in 7.0 that seems to still be an issue in 8.0. The image widget is not displaying in the form view correctly. It will display a thumbnail correctly while editing a line, but will not keep the thumbnail displayed after the order line is saved.
I understand that form/list view is not designed to display images, however this javascript is an officially recognised way of including images on order lines:
https://github.com/OdooCommunityWidgets/product_image_list_view/tree/8.0/static/src/js
as detailed here under developer how-to's:
https://www.odoo.com/forum/how-to/developers-13/how-to-show-thumbnail-image-in-list-view-19907
I have troubleshooted this by trying a few methods to include the javascript to apply to the order line, but I do not see any difference when applying any of these methods to include the javascript and it seems to make no difference whether the javascript is included in the module or not.
I think this issue would be resolved if I was able to apply the javascript correctly to include it in the backend to apply to the sales order line view, however I cannot figure out how to do it.
Does anyone have any suggestions or insight into how I could include the javascript above correctly so that it applied to the sales order line view?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
4000
瀏覽次數
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
0
4月 21
|
2481 | ||
|
2
12月 22
|
2540 | ||
|
2
4月 21
|
2280 | ||
|
4
10月 20
|
8601 | ||
|
1
11月 19
|
18440 |