conv_bal
watcha.h@almacom.co.th 2015-05-12 16:20:06 +07:00
parent 00b276cc62
commit a4787dc4d3
5 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<action> <action>
<field name="string">HD Case Report Summary</field> <field name="string">HD Case Summary</field>
<field name="view_cls">report</field> <field name="view_cls">report</field>
<field name="model">clinic.report.hd.case.summary</field> <field name="model">clinic.report.hd.case.summary</field>
<field name="report_template">report_hd_case_summary</field> <field name="report_template">report_hd_case_summary</field>

View File

@ -1,7 +1,7 @@
<form model="clinic.change.visit"> <form model="clinic.change.visit">
<field name="visit_date" onchange="onchange_date"/> <field name="visit_date" onchange="onchange_date"/>
<field name="cycle_id" onchange="onchange_cycle" required="1"/> <field name="cycle_id" onchange="onchange_cycle" required="1"/>
<field name="department_id" onchange="onchange_department"/> <field name="department_id" required="1" onchange="onchange_department"/>
<field name="branch_id" invisible="1"/> <field name="branch_id" invisible="1"/>
<field name="patient_id" onchange="onchange_patient"/> <field name="patient_id" onchange="onchange_patient"/>
<field name="doctor_id"/> <field name="doctor_id"/>

View File

@ -14,7 +14,7 @@
<field name="number"/> <field name="number"/>
<field name="time_start" onchange="onchange_datefrom"/> <field name="time_start" onchange="onchange_datefrom"/>
<field name="cycle_id" onchange="onchange_cycle" required="1"/> <field name="cycle_id" onchange="onchange_cycle" required="1"/>
<field name="department_id" onchange="onchange_department"/> <field name="department_id" required="1" onchange="onchange_department"/>
<field name="branch_id" invisible="1"/> <field name="branch_id" invisible="1"/>
</group> </group>
<group span="6" columns="1"> <group span="6" columns="1">

View File

@ -13,7 +13,7 @@ class ChangeVisit(Model):
"department_id": fields.Many2One("clinic.department", "Department",search=True), "department_id": fields.Many2One("clinic.department", "Department",search=True),
'branch_id': fields.Many2One("clinic.branch","Branch"), 'branch_id': fields.Many2One("clinic.branch","Branch"),
"cycle_id": fields.Many2One("clinic.cycle","Cycle"), "cycle_id": fields.Many2One("clinic.cycle","Cycle"),
'visit_date': fields.Date('Date'), 'visit_date': fields.Date('Date',required=True),
'note': fields.Text('Note'), 'note': fields.Text('Note'),
} }

View File

@ -48,7 +48,7 @@ class Visit(Model):
'print_date': fields.Date('Print Date',function="_get_print_date"), 'print_date': fields.Date('Print Date',function="_get_print_date"),
'cycle_item_id': fields.Many2One("clinic.cycle.item","Cycle Item"), #XXX on_delete="cascade" -> rm visit from cycle item 'cycle_item_id': fields.Many2One("clinic.cycle.item","Cycle Item"), #XXX on_delete="cascade" -> rm visit from cycle item
'sequence': fields.Char("Sequence",function="_get_all",function_multi=True,store=True), 'sequence': fields.Char("Sequence",function="_get_all",function_multi=True,store=True),
'visit_date': fields.Date('Date'), 'visit_date': fields.Date('Date',required=True),
'cycle_color': fields.Char('Color',function="_get_all",function_multi=True,store=True), 'cycle_color': fields.Char('Color',function="_get_all",function_multi=True,store=True),
'note': fields.Text('Note'), 'note': fields.Text('Note'),
'branch_id': fields.Many2One("clinic.branch","Branch"), 'branch_id': fields.Many2One("clinic.branch","Branch"),