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
Laurent S
erp5
Commits
acd08bd3
Commit
acd08bd3
authored
Nov 30, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base: do not blindly propagate **kw to catalog while looking up currency price
(cherry picked from commit
2b084cbd
)
parent
5ea4333d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Currency_getPriceCalculationOperandDict.xml
...ins/erp5_base/Currency_getPriceCalculationOperandDict.xml
+5
-0
No files found.
bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/Currency_getPriceCalculationOperandDict.xml
View file @
acd08bd3
...
...
@@ -78,6 +78,11 @@ else:\n
if validation_state is None:\n
validation_state = \'validated\'\n
kw.setdefault(\'portal_type\', \'Currency Exchange Line\')\n
\n
# discard `categories` that might have been passed by Movement_getPriceCalculationOperandDict\n
# and that searchPredicateList does not accept.\n
kw.pop(\'categories\', None)\n
\n
predicate_list = context.portal_domains.searchPredicateList(\n
context=movement,\n
validation_state=validation_state,\n
...
...
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