clinic/netforce_clinic/models/fin_setting.py

17 lines
832 B
Python
Raw Normal View History

2014-10-22 03:45:23 +00:00
from netforce.model import Model, fields
class Settings(Model):
_inherit="settings"
_fields={
2014-10-22 08:55:57 +00:00
"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"),
2014-10-26 10:11:19 +00:00
"ap_nurse_id": fields.Many2One("account.account","Account Payment Nurse"),
"ap_doctor_id": fields.Many2One("account.account","Account Doctor Nurse"),
2014-10-22 03:45:23 +00:00
}
Settings.register()