15.02.26
This commit is contained in:
@@ -495,6 +495,11 @@ class Line(metaclass=PoolMeta):
|
||||
def default_inherit_cer(cls):
|
||||
return True
|
||||
|
||||
def get_matched_lines(self):
|
||||
if self.lots:
|
||||
LotQt = Pool().get('lot.qt')
|
||||
return LotQt.search([('lot_p','=',self.lots[0].id),('lot_s','>',0)])
|
||||
|
||||
def get_date(self,trigger_event):
|
||||
date = None
|
||||
if self.estimated_date:
|
||||
|
||||
Reference in New Issue
Block a user