2014-10-22 03:45:23 +00:00
|
|
|
from netforce.model import Model, fields
|
|
|
|
|
|
|
|
class Settings(Model):
|
|
|
|
_inherit="settings"
|
|
|
|
_fields={
|
2014-11-25 10:26:10 +00:00
|
|
|
"ap_uc_id": fields.Many2One("account.account","Account Payment UC"),
|
2014-10-22 08:55:57 +00:00
|
|
|
"ap_sc_id": fields.Many2One("account.account","Account Payment Social Security"),
|
2014-11-25 10:26:10 +00:00
|
|
|
"ar_uc_id": fields.Many2One("account.account","Account Recieve UC"),
|
2014-10-22 08:55:57 +00:00
|
|
|
"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"),
|
2014-10-27 14:17:22 +00:00
|
|
|
"ap_doctor_id": fields.Many2One("account.account","Account Payment Doctor"),
|
|
|
|
'hospital_code': fields.Char("Hospital Code", multi_company=True),
|
2014-10-22 03:45:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Settings.register()
|