10.03.26
This commit is contained in:
@@ -102,12 +102,12 @@ class Fee(ModelSQL,ModelView):
|
||||
Date = Pool().get('ir.date')
|
||||
return Date.today()
|
||||
|
||||
@classmethod
|
||||
def default_qt_state(cls):
|
||||
LotQtType = Pool().get('lot.qt.type')
|
||||
lqt = LotQtType.search([('name','=','BL')])
|
||||
if lqt:
|
||||
return lqt[0].id
|
||||
# @classmethod
|
||||
# def default_qt_state(cls):
|
||||
# LotQtType = Pool().get('lot.qt.type')
|
||||
# lqt = LotQtType.search([('name','=','BL')])
|
||||
# if lqt:
|
||||
# return lqt[0].id
|
||||
|
||||
@fields.depends('price','unit','auto_calculation','mode','_parent_line.unit','_parent_line.lots','_parent_sale_line.unit','_parent_sale_line.lots','_parent_shipment_in.id')
|
||||
def on_change_with_quantity(self, name=None):
|
||||
|
||||
Reference in New Issue
Block a user