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>
12 lines
314 B
Python
12 lines
314 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ProductProduct(models.Model):
|
|
_inherit = "product.product"
|
|
|
|
image_fetch_pending = fields.Boolean(
|
|
help="Whether an image must be fetched for this product. Handled by a cron.",
|
|
)
|