Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
13b358cb
Commit
13b358cb
authored
Dec 27, 2017
by
Tomáš Peterka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[accounting_rjs_test] Fix test mock script bug
parent
df8f4cf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createReportAgedBalanceDataset.py
...ui_test/AccountingZuite_createReportAgedBalanceDataset.py
+1
-1
No files found.
bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_createReportAgedBalanceDataset.py
View file @
13b358cb
...
@@ -23,7 +23,7 @@ def get_object_by_title(portal_type, title):
...
@@ -23,7 +23,7 @@ def get_object_by_title(portal_type, title):
portal_type
=
portal_type
,
portal_type
=
portal_type
,
title
=
SimpleQuery
(
title
=
title
,
comparison_operator
=
'='
))
title
=
SimpleQuery
(
title
=
title
,
comparison_operator
=
'='
))
if
len
(
result
)
==
1
:
if
len
(
result
)
==
1
:
return
result
.
getObject
()
return
result
[
0
]
.
getObject
()
return
None
return
None
...
...
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