2014-10-03 08:24:53 +00:00
|
|
|
from netforce.model import Model, fields
|
|
|
|
|
|
|
|
class InputData(Model):
|
|
|
|
_name="clinic.input.data"
|
|
|
|
_string="Input Data"
|
|
|
|
_fields={
|
2014-10-03 11:08:10 +00:00
|
|
|
'doc_date': fields.Date("Doc Date"),
|
2014-10-03 08:24:53 +00:00
|
|
|
'name': fields.Char("Name"),
|
|
|
|
'hn': fields.Char("HN"),
|
|
|
|
'amount': fields.Float("Amount"),
|
|
|
|
'je_id': fields.Many2One("clinic.je","Journal Entry"),
|
|
|
|
}
|
|
|
|
|
|
|
|
InputData.register()
|