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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
bf75bc75
Commit
bf75bc75
authored
Dec 09, 2020
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_forge: revert & update action
parent
71d0b759
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
bt5/erp5_forge/ActionTemplateItem/portal_types/Business%20Template/update_vcs_bt.xml
...teItem/portal_types/Business%20Template/update_vcs_bt.xml
+2
-2
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_doVcsUpdate.py
...tem/portal_skins/erp5_vcs/BusinessTemplate_doVcsUpdate.py
+5
-5
No files found.
bt5/erp5_forge/ActionTemplateItem/portal_types/Business%20Template/update_vcs_bt.xml
View file @
bf75bc75
...
@@ -16,13 +16,13 @@
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
category
</string>
</key>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
condition
</string>
</key>
<key>
<string>
condition
</string>
</key>
...
...
bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_vcs/BusinessTemplate_doVcsUpdate.py
View file @
bf75bc75
...
@@ -4,8 +4,8 @@ except Exception, error:
...
@@ -4,8 +4,8 @@ except Exception, error:
return
context
.
BusinessTemplate_handleException
(
return
context
.
BusinessTemplate_handleException
(
error
,
script
.
id
,
form_id
=
form_id
,
keep
=
keep
)
error
,
script
.
id
,
form_id
=
form_id
,
keep
=
keep
)
re
quest
=
context
.
REQUEST
re
turn
new_bt
.
Base_redirect
(
'BusinessTemplate_viewInstallationDialog'
,
keep_items
=
{
request
.
set
(
'portal_status_message'
,
'Working copy updated successfully.'
)
'portal_status_message'
:
'Working copy updated successfully.'
,
return
request
.
RESPONSE
.
redirect
(
'workflow_action'
:
'install_action'
,
'
%s/BusinessTemplate_viewInstallationDialog?workflow_action=install_action&form_id=%s'
'
form_id'
:
form_id
%
(
new_bt
.
absolute_url_path
(),
form_id
)
)
}
)
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