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
997dc94e
Commit
997dc94e
authored
Jan 09, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix previous commit, not always business_configuration_key comes with the request.
parent
beb6ebc5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator/BusinessConfiguration_validateCustomerUsername.xml
...urator/BusinessConfiguration_validateCustomerUsername.xml
+9
-1
bt5/erp5_configurator/bt/revision
bt5/erp5_configurator/bt/revision
+1
-1
No files found.
bt5/erp5_configurator/SkinTemplateItem/portal_skins/erp5_configurator/BusinessConfiguration_validateCustomerUsername.xml
View file @
997dc94e
...
...
@@ -70,7 +70,15 @@ if portal.portal_catalog.getResultValue(\n
# through a Person Configuration Item which when build will create a real\n
# Nexedi ERP5 account.\n
\n
bc_path = " NOT %%/%s/%%" % REQUEST.get(\'business_configuration_key\')\n
bc_key = REQUEST.get(\'business_configuration_key\', None)\n
bc_path = None\n
if bc_key is None:\n
configuration_save = portal.restrictedTraverse(REQUEST.get(\'configuration_save_url\'))\n
if configuration_save is not None:\n
bc_key = configuration_save.getParentValue().getRelativeUrl()\n
\n
if bc_key is not None:\n
bc_path = "NOT %%/%s/%%" % bc_key\n
\n
if portal.portal_catalog.getResultValue(\n
reference = reference,\n
...
...
bt5/erp5_configurator/bt/revision
View file @
997dc94e
528
\ No newline at end of file
530
\ 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