xxxx
parent
18925b4dc7
commit
faf7a867de
|
@ -103,6 +103,7 @@ class SelectCompany(Model):
|
||||||
['clinic.shop','department_id.code','='],
|
['clinic.shop','department_id.code','='],
|
||||||
['clinic.dialyzer','department_id.code','='],
|
['clinic.dialyzer','department_id.code','='],
|
||||||
['clinic.schedule','department_id.code','='],
|
['clinic.schedule','department_id.code','='],
|
||||||
|
['clinic.department','code','='],
|
||||||
]
|
]
|
||||||
|
|
||||||
user_id=get_active_user()
|
user_id=get_active_user()
|
||||||
|
|
|
@ -483,7 +483,6 @@ class Visit(Model):
|
||||||
'state': 'pending',
|
'state': 'pending',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
def onchange_department(self,context={}):
|
def onchange_department(self,context={}):
|
||||||
data=context['data']
|
data=context['data']
|
||||||
dpt_id=data['department_id']
|
dpt_id=data['department_id']
|
||||||
|
|
Loading…
Reference in New Issue