2014-10-26 01:34:10 +00:00
|
|
|
from netforce.model import Model, fields
|
|
|
|
|
|
|
|
class Address(Model):
|
|
|
|
_inherit="address"
|
|
|
|
|
|
|
|
_fields={
|
|
|
|
"patient_id": fields.Many2One("clinic.patient","Patient"),
|
2014-11-25 11:39:53 +00:00
|
|
|
"staff_id": fields.Many2One("clinic.staff","Staff"),
|
2014-10-26 01:34:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Address.register()
|