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-01 06:04:30 +00:00
|
|
|
"personal_id": fields.Many2One("clinic.personal","Personal"),
|
2014-10-26 01:34:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Address.register()
|