clinic/netforce_clinic/models/matching_hdcase_file.py

13 lines
327 B
Python
Raw Normal View History

2015-04-09 10:47:40 +00:00
from netforce.model import Model, fields, get_model
class MatchingHDCaseFile(Model):
_name="clinic.matching.hdcase.file"
_transient=True
_fields={
"matching_hdcase_id": fields.Many2One("clinic.matching.hdcase","Matching HD Case"),
'file': fields.File("File"),
}
MatchingHDCaseFile.register()