[FIX] pms: cachemiss computing product_type from product_product

This commit is contained in:
Eric Antones
2021-12-16 13:52:57 +01:00
parent ad22f8efab
commit 913796fd57

View File

@@ -55,6 +55,8 @@ class ProductProduct(models.Model):
_("More than one room found for the same product")
)
rec.room_type_id = room_type
else:
rec.room_type_id = False
def price_compute(self, price_type, uom=False, currency=False, company=None):
if self._context.get("board_service"):