-
Notifications
You must be signed in to change notification settings - Fork 1
/
l10n_tn_paye.py
61 lines (35 loc) · 1.46 KB
/
l10n_tn_paye.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
from openerp.osv import fields, osv
import openerp.addons.decimal_precision as dp
class hr_contract(osv.osv):
_inherit = 'hr.contract'
_columns = {
'wage': fields.float('Wage', digits_compute=dp.get_precision('Payroll'), required=True, help="Basic Salary of the employee"),
'nationalite': fields.char('Nationalite', size=64),
'qualif': fields.char('Qualification', size=64),
'niveau': fields.char('Niveau', size=64),
'coef': fields.char('Coefficient', size=64),
}
hr_contract()
class res_company(osv.osv):
_inherit = 'res.company'
_columns = {
'plafond_secu': fields.float('Plafond de la Securite Sociale', digits_compute=dp.get_precision('Payroll')),
'nombre_employes': fields.integer('Nombre d\'employes'),
'cotisation_prevoyance': fields.float('Cotisation Patronale Prevoyance', digits_compute=dp.get_precision('Payroll')),
'org_ss': fields.char('Organisme de securite sociale', size=64),
'conv_coll': fields.char('Convention collective', size=64),
}
res_company()
class hr_payslip(osv.osv):
_inherit = 'hr.payslip'
_columns = {
'payment_mode': fields.char('Mode de paiement', size=64),
}
hr_payslip()
class hr_employee(osv.osv):
_inherit = 'hr.employee'
_columns = {
'matricule_cnss':fields.integer('Matricule CNSS', size=10),
'num_chezemployeur':fields.integer('Numero chez l\'employeur'),
}
hr_employee()