2014-10-26 01:34:10 +00:00
|
|
|
from netforce.model import Model, fields
|
|
|
|
|
|
|
|
class Address(Model):
|
|
|
|
_inherit="address"
|
|
|
|
_fields={
|
2015-03-17 09:29:34 +00:00
|
|
|
'fax': fields.Char("Fax"),
|
2015-03-17 12:18:05 +00:00
|
|
|
'patient_id': fields.Many2One("clinic.patient", "Patient"),
|
|
|
|
"staff_id": fields.Many2One("clinic.staff","Staff"),
|
2014-10-26 01:34:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Address.register()
|