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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
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
...
@@ -120,8 +120,9 @@ for party in context.Account_zDistinctSectionList(\n
if role_filter_list:\n
if role_filter_list:\n
keep_this_one = False\n
keep_this_one = False\n
for role in role_filter_list:\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
keep_this_one = True\n
break\n
\n
\n
if not keep_this_one:\n
if not keep_this_one:\n
continue\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