main #7
@@ -70,7 +70,7 @@ class Fee(ModelSQL,ModelView):
|
|||||||
()),
|
()),
|
||||||
],
|
],
|
||||||
states={
|
states={
|
||||||
'readonly': (Eval('mode') != 'ppack' & Eval('mode') != 'perqt'),
|
'readonly': (Bool(Eval('mode') != 'ppack') & Bool(Eval('mode') != 'perqt')),
|
||||||
})
|
})
|
||||||
packing_category = fields.Function(fields.Integer("Packing Category"),'get_packing_category')
|
packing_category = fields.Function(fields.Integer("Packing Category"),'get_packing_category')
|
||||||
inherit_shipment = fields.Boolean("Inh Sh",states={
|
inherit_shipment = fields.Boolean("Inh Sh",states={
|
||||||
|
|||||||
Reference in New Issue
Block a user