Commit Graph
4 Commits
Author SHA1 Message Date
Gorash 774a3fad0e [REF] base,all: Update modifier syntax: view migration
Apply of the migration script to update all view modifiers.

Part-of: odoo/odoo#104741
2023-08-18 09:49:13 +02:00
Valentin Chevalier 768ac198a3 [FIX] product_images: fix random traceback when Content-Type is not defined
When downloading images from Google, we check the headers of the request
to see if "image/" is defined in `Content-Type`. On some websites,
`Content-Type` is not defined, leading to a traceback because we try to
access the key in the dictionary.

opw-3349774

closes odoo/odoo#130612

X-original-commit: f6ecbbf7f72c61623a1f92571536289ffd6231b3
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Valentin Chevalier <vcr@odoo.com>
2023-08-03 10:43:26 +02:00
Valentin Chevalier bd732d32f1 [FIX] product_images: correctly throw an UserError
The UserError was inadvertently removed and replaced by
`google_pse_id_is_set` variable, which is a boolean.

closes odoo/odoo#75298

Signed-off-by: Valentin Chevalier <chevalierv@users.noreply.github.com>
2021-08-19 08:39:06 +00:00
Valentin Chevalier be7fced806 [ADD] product_images: Add a new module to fetch images using barcode
Users will now have a quick way to add images on their products in batches, allowing fast visual identification of them.

task-2518519

closes odoo/odoo#70198

Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
2021-08-13 15:28:22 +00:00