clinic/netforce_clinic/models/partner.py

13 lines
426 B
Python

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()