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
Labels
Merge Requests
141
Merge Requests
141
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
2b084cbd
Commit
2b084cbd
authored
Nov 30, 2015
by
Jérome Perrin
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base: do not blindly propagate **kw to catalog while looking up currency price
parent
de4891d7
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 @
2b084cbd
...
...
@@ -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
...
...
Jérome Perrin
@jerome
mentioned in commit
acd08bd3
·
Dec 25, 2015
mentioned in commit
acd08bd3
mentioned in commit acd08bd3ccc7f8e200635e3b40f83bb1fc474c5c
Toggle commit list
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