clinic/netforce_clinic/models/partner.py

15 lines
666 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={
2014-12-21 17:24:08 +00:00
"account_mdc_id": fields.Many2One("account.account","Account Receiveable Medicine",multi_company=True),
"account_fee_id": fields.Many2One("account.account","Account Receiveable Fee",multi_company=True),
"account_service_id": fields.Many2One("account.account","Account Receiveable Service",multi_company=True),
"account_payment_id": fields.Many2One("account.account","Account Payment",multi_company=True),
2014-12-21 18:00:54 +00:00
"account_income_id": fields.Many2One("account.account","Account Income",multi_company=True),
2014-12-16 09:53:36 +00:00
}
Partner.register()