Remove invoice and shipment pages if user doesn't have permisions to see them

issue4994
review23451002
This commit is contained in:
Sergi Almacellas Abellana committed 2015-09-25 11:13:51 +02:00
1 parent 9f85f901bd
commit 9ed3321f2e
1 file changed
+2 -2
+2 -2
View File
@@ -66,10 +66,10 @@ this repository contains the full copyright notices and license terms. -->
<separator name="comment" colspan="4"/>
<field name="comment" colspan="4"/>
</page>
<page string="Invoices" id="invoices">
<page name="invoices">
<field name="invoices" colspan="4"/>
</page>
<page string="Shipments" id="shipments">
<page name="shipments">
<field name="moves" colspan="4"
view_ids="purchase.move_view_list_shipment"/>
<field name="shipments" colspan="4"/>