[IMP] rma_sale: adapt to changes in supplier rma group form view.

This commit is contained in:
Lois Rilo
2023-01-02 10:24:49 +01:00
committed by JasminSForgeFlow
parent 235518826a
commit 8f1201ea48
2 changed files with 2 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
class="oe_stat_button"
icon="fa-pencil-square-o"
groups="sales_team.group_sale_salesman"
attrs="{'invisible':[('type', '!=', 'customer')]}"
>
<field name="sale_count" widget="statinfo" string="Origin SO" />
</button>

View File

@@ -114,6 +114,7 @@
name="%(action_rma_add_sale)d"
string="Add From Sale Order"
type="action"
attrs="{'invisible':[('type', '!=', 'customer')]}"
/>
</xpath>
</field>