clinic/netforce_clinic/models/partner.py

13 lines
426 B
Python
Raw Normal View History

2014-12-16 09:53:36 +00:00
from netforce.model import Model, fields
class Partner(Model):
_inherit="partner"
_fields={
"account_mdc_id": fields.Many2One("account.account","Account Medicine",multi_company=True),
"account_fee_id": fields.Many2One("account.account","Account Fee",multi_company=True),
"account_service_id": fields.Many2One("account.account","Account Service",multi_company=True),
}
Partner.register()