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
Paul Graydon
erp5
Commits
aa016b54
Commit
aa016b54
authored
Sep 27, 2019
by
Xiaowu Zhang
Committed by
Xiaowu Zhang
Apr 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_accounting: change payment movement selection criteria
parent
6232e226
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_selectMovement.py
...kins/erp5_accounting/PaymentTransaction_selectMovement.py
+7
-2
No files found.
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/PaymentTransaction_selectMovement.py
View file @
aa016b54
kw
[
'parent_specialise_reference'
]
=
'default_payment_rule'
kw
[
'grand_parent_simulation_state'
]
=
'started'
kw
[
'grand_parent_simulation_state'
]
=
(
'started'
,
'stopped'
)
kw
[
'delivery_uid'
]
=
None
kw
[
'left_join_list'
]
=
[
'delivery_uid'
]
kw
[
'select_dict'
]
=
dict
(
delivery_uid
=
None
)
kw
[
'group_by'
]
=
(
'uid'
,)
# We assume that all simulation movements without a delivery are in planned or auto planned state.
# By passing this, catalog should use an index on portal_type + simulation state.
# XXX actually we do not even pass auto_planned to have only 1 value, because we just do not use
# auto_planned state in this project.
kw
[
'simulation_state'
]
=
(
'planned'
,
)
kw
[
'src__'
]
=
src__
return
context
.
portal_catalog
(
**
kw
)
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