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 @@ ...@@ -75,7 +75,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>string:${object_url}/SaleOrder_viewDetailAsWeb</string> </value> <value> <string>string:${object_url}/SaleOrder_viewAsWeb</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
290 291
\ No newline at end of file \ 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