Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
bb2bfa6e
Commit
bb2bfa6e
authored
Mar 25, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Amount: repair filter by base category list
parent
d4d1c020
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
product/ERP5/Document/Amount.py
product/ERP5/Document/Amount.py
+2
-0
No files found.
product/ERP5/Document/Amount.py
View file @
bb2bfa6e
...
@@ -127,6 +127,8 @@ class Amount(Base, VariatedMixin):
...
@@ -127,6 +127,8 @@ class Amount(Base, VariatedMixin):
kw
[
'display_id'
]
=
'title'
kw
[
'display_id'
]
=
'title'
for
base_category
,
(
object_list
,
for
base_category
,
(
object_list
,
category_list
)
in
variation_dict
.
iteritems
():
category_list
)
in
variation_dict
.
iteritems
():
if
base_category_list
and
base_category
not
in
base_category_list
:
continue
variation_category_item_list
+=
render_category_list
(
category_list
)
variation_category_item_list
+=
render_category_list
(
category_list
)
variation_category_item_list
+=
Renderer
(
base_category
=
base_category
,
variation_category_item_list
+=
Renderer
(
base_category
=
base_category
,
**
kw
).
render
(
object_list
)
**
kw
).
render
(
object_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