IMP sale_line_change make button only available to Sales Managers.

This commit is contained in:
Jared Kipe
2018-09-20 15:23:07 -07:00
parent 2e3c2e5709
commit 38e4b1ee2b

View File

@@ -11,8 +11,8 @@
attrs="{'invisible': [('state', 'in', ('draft', 'sent', 'cancel'))]}"
string="Line Change"
class="btn-secondary"
context="{'default_order_id': active_id}"/>
<!--class="oe_highlight"/>-->
context="{'default_order_id': active_id}"
groups="sales_team.group_sale_manager"/>
</xpath>
</field>
</record>