2014-10-22 03:45:23 +00:00
|
|
|
from netforce.model import Model, fields
|
|
|
|
|
|
|
|
class ImportDataSC(Model):
|
|
|
|
_name="clinic.data.sc"
|
|
|
|
_transient=True
|
|
|
|
_fields={
|
2014-10-24 08:08:56 +00:00
|
|
|
'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'),
|
2014-10-24 10:40:01 +00:00
|
|
|
'dttran': fields.Date("dttran"),
|
2014-10-24 08:08:56 +00:00
|
|
|
'type': fields.Selection([['success','Succes'],['fail','Fail']],'Type', search=True),
|
2014-10-22 03:45:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ImportDataSC.register()
|