2014-10-03 06:09:10 +00:00
|
|
|
from netforce.model import Model, fields
|
|
|
|
|
|
|
|
class FileSheet(Model):
|
|
|
|
_name="clinic.file.sheet"
|
|
|
|
_string="File Sheet"
|
|
|
|
|
|
|
|
_fields={
|
|
|
|
'name': fields.Char("Name"),
|
|
|
|
'index': fields.Integer("Index"),
|
2014-10-03 08:24:53 +00:00
|
|
|
"select": fields.Selection([("yes","Yes"),("no","No")],"Select"),
|
2014-10-05 17:00:16 +00:00
|
|
|
'imp_id': fields.Many2One("clinic.import.payment","Import Payment"),
|
2014-10-03 06:09:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
FileSheet.register()
|