Is there an faster and easier way to check if a product does not have any image than this?
if not product.image_1920 and not product.image_1024 and not product.image_512 and not product.image_256 and not product.image_128
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Is there an faster and easier way to check if a product does not have any image than this?
if not product.image_1920 and not product.image_1024 and not product.image_512 and not product.image_256 and not product.image_128
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
4
3月 22
|
17286 | ||
|
2
12月 21
|
1795 | ||
|
2
12月 19
|
23467 | ||
|
3
11月 24
|
14062 | ||
|
0
6月 22
|
2383 |
The main image field used is image_1920 and the others for preview and can't be set.