Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
erp5
Commits
82e5c7f6
Commit
82e5c7f6
authored
Apr 21, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
payroll_l10n_fr: pylint py3
parent
c1325124
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/PaySheetTransaction_getOtherInformationsDataDict.py
...0n_fr/PaySheetTransaction_getOtherInformationsDataDict.py
+1
-1
bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/PaySheetTransaction_getPayslipData.py
...rp5_payroll_l10n_fr/PaySheetTransaction_getPayslipData.py
+3
-1
No files found.
bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/PaySheetTransaction_getOtherInformationsDataDict.py
View file @
82e5c7f6
...
@@ -167,7 +167,7 @@ def unicodeDict(d):
...
@@ -167,7 +167,7 @@ def unicodeDict(d):
return
d
return
d
for
k
,
v
in
six
.
iteritems
(
d
):
for
k
,
v
in
six
.
iteritems
(
d
):
if
isinstance
(
v
,
str
):
if
isinstance
(
v
,
str
):
d
.
update
({
k
:
unicod
e
(
v
,
'utf8'
)})
d
.
update
({
k
:
six
.
text_typ
e
(
v
,
'utf8'
)})
return
d
return
d
source_section
=
paysheet
.
getSourceSectionValue
()
source_section
=
paysheet
.
getSourceSectionValue
()
...
...
bt5/erp5_payroll_l10n_fr/SkinTemplateItem/portal_skins/erp5_payroll_l10n_fr/PaySheetTransaction_getPayslipData.py
View file @
82e5c7f6
...
@@ -97,7 +97,9 @@ def getReportSectionDictList(line_dict_list):
...
@@ -97,7 +97,9 @@ def getReportSectionDictList(line_dict_list):
line_to_group_list
=
[]
line_to_group_list
=
[]
# add one line for gross salary
# add one line for gross salary
if
previous_line_dict
is
not
None
and
gross_category
in
previous_line_dict
[
'base_contribution_list'
]
and
gross_category
not
in
current_line_dict
[
'base_contribution_list'
]:
if
(
previous_line_dict
is
not
None
and
gross_category
in
previous_line_dict
[
'base_contribution_list'
]
# pylint:disable=unsubscriptable-object
and
gross_category
not
in
current_line_dict
[
'base_contribution_list'
]):
new_line_dict_list
.
append
(
new_line_dict_list
.
append
(
getFakeLineDictForNewSection
(
getFakeLineDictForNewSection
(
context
.
Base_translateString
(
"Gross Salary"
),
context
.
Base_translateString
(
"Gross Salary"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment