Commit ef0df502 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Xiaowu Zhang

Update Sale Order web_view action

Use SaleOrder_viewAsWeb instead ad-hoc name.
For e-commerce, we do not allow user edit his own order on web mode.
parent 938cc648
......@@ -75,7 +75,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/SaleOrder_viewDetailAsWeb</string> </value>
<value> <string>string:${object_url}/SaleOrder_viewAsWeb</string> </value>
</item>
</dictionary>
</pickle>
......@@ -88,7 +88,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: object is not None and object.isWebMode() and not object.isEditableMode()</string> </value>
<value> <string>python: object is not None and object.isWebMode()</string> </value>
</item>
</dictionary>
</pickle>
......
290
\ No newline at end of file
291
\ No newline at end of file
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