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
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
e8ef5b33
Commit
e8ef5b33
authored
Feb 14, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Third Party Report: Don't fail if user selects '' in the role list
doc.isMemberOf('') is not valid
parent
ed4e3e4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml
...unting/AccountModule_getOtherPartiesReportSectionList.xml
+2
-1
bt5/erp5_accounting/bt/revision
bt5/erp5_accounting/bt/revision
+1
-1
No files found.
bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getOtherPartiesReportSectionList.xml
View file @
e8ef5b33
...
...
@@ -120,8 +120,9 @@ for party in context.Account_zDistinctSectionList(\n
if role_filter_list:\n
keep_this_one = False\n
for role in role_filter_list:\n
if o.isMemberOf(role):\n
if
role and
o.isMemberOf(role):\n
keep_this_one = True\n
break\n
\n
if not keep_this_one:\n
continue\n
...
...
bt5/erp5_accounting/bt/revision
View file @
e8ef5b33
151
7
151
8
\ No newline at end of file
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