clinic/netforce_clinic/models/input_data.py

15 lines
383 B
Python

from netforce.model import Model, fields
class InputData(Model):
_name="clinic.input.data"
_string="Input Data"
_fields={
'doc_date': fields.Char("Doc Date"),
'name': fields.Char("Name"),
'hn': fields.Char("HN"),
'amount': fields.Float("Amount"),
'je_id': fields.Many2One("clinic.je","Journal Entry"),
}
InputData.register()