[FIX] sale_project: remove the SO stat button in project sharing
Before this commit, the user can see the stat button but this button is disabled. Since this button gives no more information. This commit removes this stat button in the project sharing feature. task-2633229 closes #77156 X-original-commit: 0e6995533f6733993a4d2554b2ed407f3a3ba3e1
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
<field name="arch" type="xml">
|
||||
<div name="button_box" position="inside">
|
||||
<field name="sale_order_id" invisible="1"/>
|
||||
<button class="d-none d-md-inline oe_stat_button o_debounce_disabled"
|
||||
type="object" name="action_view_so" icon="fa-dollar" special="cancel"
|
||||
attrs="{'invisible': [('sale_order_id', '=', False)]}"
|
||||
<button class="d-none d-md-inline oe_stat_button"
|
||||
type="object" name="action_view_so" icon="fa-dollar"
|
||||
invisible="1"
|
||||
string="Sales Order"/>
|
||||
</div>
|
||||
<xpath expr="//field[@name='partner_id']" position="attributes">
|
||||
|
||||
Reference in New Issue
Block a user