permission denied

conv_bal
watcha.h 2015-03-13 23:42:01 +07:00
parent 5670f49144
commit edf9f83901
2 changed files with 13 additions and 3 deletions

View File

@ -73,6 +73,8 @@ class HDCase(Model):
def _get_expense(self,ids,context={}):
res={}
user_id=get_active_user()
set_active_user(1)
for obj in self.browse(ids):
dlz_use=0
dlz_max=0
@ -110,6 +112,7 @@ class HDCase(Model):
'dlz_use': dlz_use,
'dlz_max': dlz_max,
}
set_active_user(user_id)
return res
_fields={

View File

@ -20,7 +20,14 @@ report:
- LS, LK
- Extract number (Invoice) *
- prevent to gen walk in
- prevent to create visit
- report P. Moo
- prevent to gen walk in -> ok
- update patient for K. Ekk
- prevent douplicate
- visit
patient_id,date,cycle_id
- patient
-name
- staff
-name
- report P. Moo -> ok
- wrong GI number