shopinvader_image/services/abstract_sale.py
# -*- coding: utf-8 -*-
# Copyright 2016 Akretion (http://www.akretion.com)
# Sébastien BEAU <sebastien.beau@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo.addons.component.core import AbstractComponent
class AbstractSaleService(AbstractComponent):
_inherit = "shopinvader.abstract.sale.service"
def _parser_product(self):
res = super(AbstractSaleService, self)._parser_product()
res.append("images")
return res