xxxxx
parent
ab3e8f2d96
commit
5baeb8152c
|
@ -1,18 +1 @@
|
||||||
dom=[['patient_id.field_bool','=',True]] => not working
|
attr multi_company=True not working
|
||||||
pattern id card: 3 3013 00180 19 0
|
|
||||||
|
|
||||||
-edit hdcase
|
|
||||||
1. description not show because permission
|
|
||||||
|
|
||||||
--- receipt --
|
|
||||||
date should be the same -> ok
|
|
||||||
force to print table for 1 page ->ok
|
|
||||||
!!! bug:
|
|
||||||
print multi page
|
|
||||||
|
|
||||||
---- visit ---
|
|
||||||
- check duplicate visit
|
|
||||||
- run script to take department to patient
|
|
||||||
|
|
||||||
--- visit board
|
|
||||||
- hide branch and department according to user profile
|
|
||||||
|
|
|
@ -797,6 +797,9 @@ class HDCase(Model):
|
||||||
"location_from_id": wh_loc_id,
|
"location_from_id": wh_loc_id,
|
||||||
"location_to_id": cust_loc_id,
|
"location_to_id": cust_loc_id,
|
||||||
}
|
}
|
||||||
|
#XXX whare house in profile product
|
||||||
|
if prod.location_id:
|
||||||
|
line_vals['location_from_id']=prod.location_id.id
|
||||||
pick_vals["lines"].append(("create",line_vals))
|
pick_vals["lines"].append(("create",line_vals))
|
||||||
if not pick_vals["lines"]:
|
if not pick_vals["lines"]:
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -425,6 +425,9 @@ class Shop(Model):
|
||||||
"location_from_id": wh_loc_id,
|
"location_from_id": wh_loc_id,
|
||||||
"location_to_id": cust_loc_id,
|
"location_to_id": cust_loc_id,
|
||||||
}
|
}
|
||||||
|
#XXX whare house in profile product
|
||||||
|
if prod.location_id:
|
||||||
|
line_vals['location_from_id']=prod.location_id.id
|
||||||
pick_vals["lines"].append(("create",line_vals))
|
pick_vals["lines"].append(("create",line_vals))
|
||||||
if not pick_vals["lines"]:
|
if not pick_vals["lines"]:
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue