#322 filtra la carga de pickings en el PDV cuando hay un cliente seleccionado. Añadido módulo con página de consulta de productos en el website

This commit is contained in:
Luis 2023-01-15 12:13:09 +01:00
parent 6debf13f25
commit bc5f2ab42a
17 changed files with 390 additions and 1 deletions

View file

@ -23,7 +23,7 @@ class ProductTemplate(models.Model):
_logger.debug("Calculating price with PriceList : %s" %pricelist.name)
if pricelist:
for template in self:
if template.name and template.id and template.last_purchase_price_compute_type != 'manual_update':
if template.name and template.id and template.product_variant_id and template.last_purchase_price_compute_type != 'manual_update':
partial_price = pricelist.get_product_price(template.product_variant_id, "1", partner)
_logger.debug("partial_price : %s" %partial_price)
# Suma el IVA