mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms: cachemiss computing product_type from product_product
This commit is contained in:
@@ -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"):
|
||||
|
||||
Reference in New Issue
Block a user