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
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
Léo-Paul Géneau
erp5
Commits
608a34f6
Commit
608a34f6
authored
Mar 09, 2020
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_commerce: possible to define which form to display
parent
cb44242a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/SaleOrder_deleteShoppingCartItem.py
...l_skins/erp5_commerce/SaleOrder_deleteShoppingCartItem.py
+1
-1
bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/SaleOrder_deleteShoppingCartItem.xml
..._skins/erp5_commerce/SaleOrder_deleteShoppingCartItem.xml
+1
-1
No files found.
bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/SaleOrder_deleteShoppingCartItem.py
View file @
608a34f6
...
@@ -11,5 +11,5 @@ if field_my_order_line_id is not None:
...
@@ -11,5 +11,5 @@ if field_my_order_line_id is not None:
else
:
else
:
portal_status_message
=
"Please select an item."
portal_status_message
=
"Please select an item."
context
.
Base_redirect
(
'SaleOrder_viewAsWeb'
,
\
context
.
Base_redirect
(
form_id
,
\
keep_items
=
{
'portal_status_message'
:
translateString
(
portal_status_message
,
mapping
=
{})})
keep_items
=
{
'portal_status_message'
:
translateString
(
portal_status_message
,
mapping
=
{})})
bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce/SaleOrder_deleteShoppingCartItem.xml
View file @
608a34f6
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
_params
</string>
</key>
<key>
<string>
_params
</string>
</key>
<value>
<string>
field_my_order_line_id = None
</string>
</value>
<value>
<string>
field_my_order_line_id = None
,form_id=\'SaleOrder_viewAsWeb\'
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_proxy_roles
</string>
</key>
<key>
<string>
_proxy_roles
</string>
</key>
...
...
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