03.03.26
This commit is contained in:
@@ -92,7 +92,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 / Decimal(100)) * Decimal(2.2046)),4),sp[0].mode,sp[0].currency,sp[0].unit
|
return sp[0].cost,sp[0].mode,sp[0].currency,sp[0].unit
|
||||||
|
|
||||||
def get_alf(self):
|
def get_alf(self):
|
||||||
if self.name == 'CARGO CONTROL':
|
if self.name == 'CARGO CONTROL':
|
||||||
|
|||||||
Reference in New Issue
Block a user