clinic/netforce_clinic/models/fin_setting.py

13 lines
458 B
Python

from netforce.model import Model, fields
class Settings(Model):
_inherit="settings"
_fields={
"cash_account_id": fields.Many2One("account.account","Cash Account"),
"income_account_id": fields.Many2One("account.account","Income Account"),
"ap_nurse_id": fields.Many2One("account.account","Account Payment Nurse"),
"ap_doctor_id": fields.Many2One("account.account","Account Payment Doctor"),
}
Settings.register()