upload - How to add App List Image and Banner image when uploading odoo Theme application on odoo/themes
问题描述
I am trying to upload odoo theme application to odoo/themes. I specified the two image files into my manifest file :
'images': [
'static/description/horizontal_theme_poster.png',
'static/description/landscape_screenshot.jpg',
],
horizontal_theme_poster.png
is of size 360x460 and landscape_screenshot.jpg
is of size 556x278.
After uploading the app, "landscape_screenshot.jpg" is shown on both - App List Image and Banner Image. On App list Image is cropped to match app list image default size but its not loading the image that we I specifically wanted to load for. I have seen other theme module upload two different images for both section.
解决方案
推荐阅读
- python - 如何使用多行字符串参数处理嵌套函数调用的重新格式化
- r - 如何在 R 中设置环境变量以使用 conda 环境
- echarts - 使用 (x,y) 坐标创建折线图
- r - 运行循环以改变样本数量
- node.js - 等待 ssh-exec 完成
- php - Laravel 配置文件的 apache2 域名和目录根位置是什么?
- powershell - 在数组中查找字符串 Powershell V2.0
- c# - WPF C# WebView在win 10上不显示任何页面
- python - 将 matplotlib 条形图打印到 txt 文件
- ionic3 - Ionic 3 和 Identity server 4 示例代码