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
Hugo Ricateau
erp5
Commits
b5565f96
Commit
b5565f96
authored
Apr 25, 2017
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_payroll: payroll reports target not-accountable movements
parent
072d06d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
19 deletions
+15
-19
bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getNetSalaryReportSectionLineList.py
...ingTransactionModule_getNetSalaryReportSectionLineList.py
+1
-0
bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getPaySheetLineReportSectionLineList.py
...TransactionModule_getPaySheetLineReportSectionLineList.py
+13
-19
bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getPaySheetMovementMirrorSectionItemList.py
...sactionModule_getPaySheetMovementMirrorSectionItemList.py
+1
-0
No files found.
bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getNetSalaryReportSectionLineList.py
View file @
b5565f96
...
...
@@ -39,6 +39,7 @@ for inventory in portal.portal_simulation.getInventoryList(
precision
=
precision
,
from_date
=
from_date
,
at_date
=
at_date
,
only_accountable
=
False
,
group_by_resource
=
0
,
group_by_node
=
1
,
ledger
=
ledger
,
):
...
...
bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getPaySheetLineReportSectionLineList.py
View file @
b5565f96
...
...
@@ -23,39 +23,33 @@ ledger = request.get('ledger', None)
portal_simulation
=
context
.
getPortalObject
().
portal_simulation
employee_params
=
{
inventory_param_dict
=
{
'group_by_node'
:
1
,
'group_by_variation'
:
1
,
'section_uid'
:
section_uid_list
,
'contribution_share_uid'
:
context
.
portal_categories
.
contribution_share
.
employee
.
getUid
(),
'at_date'
:
at_date
,
'from_date'
:
from_date
,
'simulation_state'
:
simulation_state
,
'precision'
:
precision
,
'resource'
:
resource
,
'ledger'
:
ledger
,
}
'only_accountable'
:
False
,
'portal_type'
:
(
'Pay Sheet Line'
,
'Pay Sheet Cell'
),
}
employer_params
=
{
'group_by_node'
:
1
,
'group_by_variation'
:
1
,
'section_uid'
:
section_uid_list
,
'contribution_share_uid'
:
context
.
portal_categories
.
contribution_share
.
employer
.
getUid
(),
'at_date'
:
at_date
,
'from_date'
:
from_date
,
'simulation_state'
:
simulation_state
,
'precision'
:
precision
,
'resource'
:
resource
,
'ledger'
:
ledger
,
}
employee_param_dict
=
inventory_param_dict
.
copy
()
employee_param_dict
[
'contribution_share_uid'
]
=
context
.
portal_categories
.
contribution_share
.
employee
.
getUid
()
employer_param_dict
=
inventory_param_dict
.
copy
()
employer_param_dict
[
'contribution_share_uid'
]
=
context
.
portal_categories
.
contribution_share
.
employer
.
getUid
()
if
request
.
get
(
'mirror_section'
):
mirror_section
=
request
[
'mirror_section'
]
employee_param
s
[
'mirror_section'
]
=
mirror_section
employer_param
s
[
'mirror_section'
]
=
mirror_section
employee_param
_dict
[
'mirror_section'
]
=
mirror_section
employer_param
_dict
[
'mirror_section'
]
=
mirror_section
employee_inventory_list
=
portal_simulation
.
getInventoryList
(
**
employee_param
s
)
employer_inventory_list
=
portal_simulation
.
getInventoryList
(
**
employer_param
s
)
employee_inventory_list
=
portal_simulation
.
getInventoryList
(
**
employee_param
_dict
)
employer_inventory_list
=
portal_simulation
.
getInventoryList
(
**
employer_param
_dict
)
inventory_list
=
{}
...
...
bt5/erp5_payroll/SkinTemplateItem/portal_skins/erp5_payroll/AccountingTransactionModule_getPaySheetMovementMirrorSectionItemList.py
View file @
b5565f96
...
...
@@ -5,6 +5,7 @@ getobject = portal.portal_catalog.getobject
for
x
in
portal
.
portal_simulation
.
getInventoryList
(
portal_type
=
(
'Pay Sheet Cell'
,
'Pay Sheet Line'
),
only_accountable
=
False
,
group_by_resource
=
0
,
group_by_section
=
0
,
group_by_mirror_section
=
1
):
...
...
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