This commit is contained in:
2026-03-23 11:18:58 +01:00
parent 062ca10340
commit 0e76aa6312
2 changed files with 0 additions and 10 deletions

View File

@@ -71,7 +71,6 @@ class Price(
def get_price(self,dt,unit,currency,last=False):
price = float(0)
PV = Pool().get('price.price_value')
logger.info("ASKED_PRICE_FOR:%s",dt)
if self.price_values:
dt = dt.strftime("%Y-%m-%d")
pv = PV.search([('price','=',self.id),('price_date','=',dt)])
@@ -115,7 +114,6 @@ class Calendar(DeactivableMixin,ModelSQL,ModelView,MultiValueMixin):
dt = dt.strftime("%Y-%m-%d")
cl = CL.search([('calendar','=',self.id),('price_date','=',dt)])
if cl:
#logger.info("ISQUOTE:%s",cl)
return False
else:
return True