main #7
@@ -72,7 +72,7 @@ class Party(metaclass=PoolMeta):
|
|||||||
SlaPlace = Pool().get('party.execution.place')
|
SlaPlace = Pool().get('party.execution.place')
|
||||||
sp = SlaPlace.search([('pes','=', sla.id),('location','=',location)])
|
sp = SlaPlace.search([('pes','=', sla.id),('location','=',location)])
|
||||||
if sp:
|
if sp:
|
||||||
return round(((sp[0].cost / 100) * 2204,62262),4)
|
return round(((sp[0].cost / 100) * 2204.62262),4)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def getPartyByName(cls, party, category=None):
|
def getPartyByName(cls, party, category=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user