+
Formation professionnelle 20+ salaries
C27P
2325
- employer
range
contract.employee_id.company_id.nombre_employes
20
@@ -1056,7 +1183,6 @@
CSG deductible
C29
2500
- normal
none
percentage
5.1
@@ -1070,7 +1196,6 @@
CSG non deductible
C28
2550
- normal
none
percentage
2.4
@@ -1085,7 +1210,6 @@
CRDS
C30
2560
- normal
none
percentage
0.5
@@ -1102,7 +1226,7 @@
Cotisations de base Employe Francais
-
+
@@ -1118,7 +1242,7 @@
E-C
Employe cadre
-
+
diff --git a/addons/l10n_fr_hr_payroll/report/fiche_paye.py b/addons/l10n_fr_hr_payroll/report/fiche_paye.py
index 3419045a788..027e8bfaeb8 100755
--- a/addons/l10n_fr_hr_payroll/report/fiche_paye.py
+++ b/addons/l10n_fr_hr_payroll/report/fiche_paye.py
@@ -39,7 +39,7 @@ class fiche_paye_parser(report_sxw.rml_parse):
res = []
ids = []
for id in range(len(obj)):
- if obj[id].appears_on_payslip == True and ( obj[id].salary_rule_id.type != 'employer' or not obj[id].salary_rule_id.parent_rule_id ):
+ if obj[id].appears_on_payslip == True and not obj[id].salary_rule_id.parent_rule_id :
ids.append(obj[id].id)
if ids:
res = payslip_line.browse(self.cr, self.uid, ids)
diff --git a/addons/l10n_fr_hr_payroll/report/fiche_paye.rml b/addons/l10n_fr_hr_payroll/report/fiche_paye.rml
index 2abc9cd53c0..039ce60a354 100644
--- a/addons/l10n_fr_hr_payroll/report/fiche_paye.rml
+++ b/addons/l10n_fr_hr_payroll/report/fiche_paye.rml
@@ -343,20 +343,17 @@
[[ ((p.amount_select<> 'fix' and p.amount_select<> 'percentage') or removeParentNode('para')) and '' ]]
|
- [[ ((p.amount_select == 'percentage' and p.salary_rule_id.type <> 'employer') or removeParentNode('para')) and '' ]] [[ p.rate or '' ]]
- [[ ((p.amount_select <> 'percentage' or p.salary_rule_id.type == 'employer') or removeParentNode('para')) and '' ]]
+ [[ ((p.amount_select == 'percentage') or removeParentNode('para')) and '' ]] [[ p.rate or '' ]]
+ [[ ((p.amount_select <> 'percentage') or removeParentNode('para')) and '' ]]
|
- [[ (( p.salary_rule_id.type <> 'employer') or removeParentNode('para')) and '' ]] [[ p.amount or '' ]]
- [[ (( p.salary_rule_id.type == 'employer') or removeParentNode('para')) and '' ]]
+ [[ p.amount or '' ]]
|
- [[ (( p.salary_rule_id.type == 'employer') or removeParentNode('para')) and '' ]] [[ p.rate or '' ]]
- [[ (( p.salary_rule_id.type <> 'employer') or removeParentNode('para')) and '' ]][[ get_employer_line(o, p).rate or '']]
+ [[ get_employer_line(o, p).rate or '']]
|
- [[ (( p.salary_rule_id.type == 'employer') or removeParentNode('para')) and '' ]] [[ p.amount or '' ]]
- [[ (( p.salary_rule_id.type <> 'employer') or removeParentNode('para')) and '' ]][[ get_employer_line(o,p).amount or '' ]]
+ [[ get_employer_line(o,p).amount or '' ]]
|