Commit 608a34f6 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_commerce: possible to define which form to display

parent cb44242a
Pipeline #9214 passed with stage
in 0 seconds
...@@ -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={})})
...@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment