remove unuse
parent
bdb5697d7b
commit
d2eb5f3d26
|
@ -1,6 +0,0 @@
|
|||
<action>
|
||||
<field name="view_cls">form_view</field>
|
||||
<field name="model">clinic.import.payment</field>
|
||||
<field name="view_xml">import_clinic_sc</field>
|
||||
<field name="menu">account_menu</field>
|
||||
</action>
|
|
@ -1,6 +0,0 @@
|
|||
<action>
|
||||
<field name="view_cls">form_view</field>
|
||||
<field name="model">clinic.import.payment</field>
|
||||
<field name="view_xml">import_clinic_uc</field>
|
||||
<field name="menu">account_menu</field>
|
||||
</action>
|
|
@ -1,21 +1,6 @@
|
|||
<inherit inherit="account_menu">
|
||||
<item string="Settings" position="before">
|
||||
<item string="Ratchawat">
|
||||
<header string="IMPORT PAYMENT"/>
|
||||
<item string="Social Security" action="import_clinic_sc"/>
|
||||
<item string="UC" action="import_clinic_uc"/>
|
||||
<divider/>
|
||||
<header string="IMPORT HISTORY"/>
|
||||
<item string="Social Security" action="clinic_data_sc"/>
|
||||
<item string="UC" action="clinic_data_uc"/>
|
||||
|
||||
<!--<header string="IMPORT PAYMENT"/>-->
|
||||
<!--<item string="Social Security" action="import_clinic_sc"/>-->
|
||||
<!--<item string="UC" action="import_clinic_uc"/>-->
|
||||
<!--<divider/>-->
|
||||
<!--<header string="IMPORT DATA"/>-->
|
||||
<!--<item string="Social Security" action="clinic_data_sc"/>-->
|
||||
<!--<item string="UC" action="clinic_data_uc"/>-->
|
||||
</item>
|
||||
</item>
|
||||
</inherit>
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
<form title="Social Security">
|
||||
<group form_layout="stacked">
|
||||
<field name="file" span="3"/>
|
||||
<field name="hcode" span="3"/>
|
||||
</group>
|
||||
<foot replace="1">
|
||||
<button string="Import" method="import_sc" type="primary" icon="arrow-right"/>
|
||||
</foot>
|
||||
</form>
|
|
@ -1,10 +0,0 @@
|
|||
<form title="UC">
|
||||
<group span="6" columns="1">
|
||||
<field name="file"/>
|
||||
</group>
|
||||
<group span="6" columns="1">
|
||||
</group>
|
||||
<foot replace="1">
|
||||
<button string="Import" method="import_uc" type="primary" icon="arrow-right"/>
|
||||
</foot>
|
||||
</form>
|
|
@ -70,7 +70,5 @@ from . import import_product
|
|||
from . import import_patient
|
||||
from . import import_visit
|
||||
from . import import_hd_case
|
||||
from . import import_data_uc
|
||||
from . import import_data_sc
|
||||
from . import vascular_access
|
||||
from . import hospital
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
from netforce.model import Model, fields, get_model
|
||||
class ImportData(Model):
|
||||
_name='clinic.import.data'
|
||||
_fields={
|
||||
}
|
||||
|
||||
ImportData.register()
|
|
@ -1,25 +0,0 @@
|
|||
from netforce.model import Model, fields
|
||||
|
||||
class ImportDataSC(Model):
|
||||
_name="clinic.data.sc"
|
||||
_transient=True
|
||||
_fields={
|
||||
'hn': fields.Char("hn", search=True),
|
||||
'name14': fields.Char("name14", search=True),
|
||||
'hcode18': fields.Char("hcode18", search=True),
|
||||
'amount23': fields.Char("amount23", search=True),
|
||||
"cur": fields.Char("cur"),
|
||||
'epoadm29': fields.Char("epoadm29"),
|
||||
'eponame': fields.Char("eponame"),
|
||||
'ln': fields.Char('ln'),
|
||||
'st': fields.Char('st'),
|
||||
'allow37': fields.Char('allow37'),
|
||||
'dttran': fields.Date("dttran"),
|
||||
'type': fields.Selection([['match','Match'],['not_match','Not Match']],'Type', search=True),
|
||||
'hd_case_id': fields.Many2One("clinic.hd.case","HD Case"),
|
||||
#'invoice_id': fields.Many2One("clinic.hd.case","HD Case"),
|
||||
}
|
||||
|
||||
_order="type"
|
||||
|
||||
ImportDataSC.register()
|
|
@ -1,26 +0,0 @@
|
|||
from netforce.model import Model, fields
|
||||
|
||||
class ImportDataUC(Model):
|
||||
_name="clinic.data.uc"
|
||||
_transient=True
|
||||
_fields={
|
||||
'name': fields.Char("Name"),
|
||||
'type': fields.Selection([['success','Succes'],['fail','Fail']],'Type'),
|
||||
'epostat': fields.Char("Epostat"),
|
||||
'hdrate': fields.Char("Hdrate"),
|
||||
'hdflag': fields.Char("Hdflag"),
|
||||
'amount': fields.Float("Amount"),
|
||||
'paid': fields.Float("Paid"),
|
||||
'paychk': fields.Char("Paychk"),
|
||||
'dttran': fields.Char("Dttran"),
|
||||
'hreg': fields.Char("Hreg"),
|
||||
'station': fields.Char("Station"),
|
||||
'hn': fields.Char("HN"),
|
||||
'invno': fields.Char("InvNo"),
|
||||
'rid': fields.Char("RID"),
|
||||
'cstat': fields.Char("Cstat"),
|
||||
'reimbpay': fields.Char("Reimbpay"),
|
||||
}
|
||||
|
||||
|
||||
ImportDataUC.register()
|
Loading…
Reference in New Issue