Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
preetwinder
erp5
Commits
997dc94e
Commit
997dc94e
authored
13 years ago
by
Rafael Monnerat
Browse files
Options
Download
Email Patches
Plain Diff
Fix previous commit, not always business_configuration_key comes with the request.
parent
beb6ebc5
Changes
2
Hide 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
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_configurator/bt/revision
View file @
997dc94e
528
\ No newline at end of file
530
\ No newline at end of file
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