clinic/netforce_clinic/models/fin_setting.py

15 lines
666 B
Python

from netforce.model import Model, fields
class Settings(Model):
_inherit="settings"
_fields={
"ap_mg_id": fields.Many2One("account.account","Account Payment Medical Government"),
"ap_nhso_id": fields.Many2One("account.account","Account Payment NHSO 30B"),
"ap_sc_id": fields.Many2One("account.account","Account Payment Social Security"),
"ar_mg_id": fields.Many2One("account.account","Account Recieve Medical Government"),
"ar_nhso_id": fields.Many2One("account.account","Account Recieve NHSO 30B"),
"ar_sc_id": fields.Many2One("account.account","Account Recieve Social Security"),
}
Settings.register()