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
1
Merge Requests
1
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
Vincent Bechu
erp5
Commits
84ba70f5
Commit
84ba70f5
authored
13 years ago
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow coding style.
Also, update exception raising style.
parent
364ebb48
master
caching_policy
contributor
drone_app
jabber_notification
jm/form-action-guard
ojs_appstore_fix
ojs_fast_sync
ojs_favicon
ojs_linshare
ojs_server_wip
ojs_translation
ojs_update
ojs_wip
olapi
rjs_maximize
rjs_panel_wip
rjs_retracted_panel_wip
svg_fix
svgedit
trash
wip
wip2
erp5.util-0.4.44
erp5.util-0.4.43
erp5.util-0.4.41
erp5.util-0.4.40
erp5.util-0.4.37
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getAccountForSite.xml
...rtal_skins/erp5_banking_core/Baobab_getAccountForSite.xml
+2
-2
No files found.
bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getAccountForSite.xml
View file @
84ba70f5
...
...
@@ -56,8 +56,8 @@ orga_id = "site_%3s" %(site.getCodification())\n
organisation = context.organisation_module[orga_id]\n
\n
account_list = [x for x in organisation.objectValues(portal_type=\'Bank Account\') if x.getValidationState() == \'valid\']\n
if len(account_list)
!=
1:\n
raise ValueError
, \'Must not get %d account for the organisation %s\' % (len(account_list), organisation.getTitleOrId(
))\n
if len(account_list)
!=
1:\n
raise ValueError
(\'Must not get %d account for the organisation %s\' % (len(account_list), organisation.getTitleOrId()
))\n
return account_list[0]\n
</string>
</value>
</item>
...
...
This diff is collapsed.
Click to expand it.
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