08.02.26
This commit is contained in:
@@ -526,12 +526,7 @@ class Line(metaclass=PoolMeta):
|
||||
|
||||
def getVirtualLot(self):
|
||||
if self.lots:
|
||||
return [l for l in self.lots if l.lot_type=='virtual'][0]
|
||||
|
||||
# @fields.depends('quantity','quantity_theorical')
|
||||
# def on_change_quantity(self):
|
||||
# if not self.quantity_theorical:
|
||||
# self.quantity_theorical = self.quantity
|
||||
return [l for l in self.lots if l.lot_type=='virtual'][0]
|
||||
|
||||
def get_basis_price(self):
|
||||
price = Decimal(0)
|
||||
|
||||
Reference in New Issue
Block a user