mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
30 lines
941 B
XML
30 lines
941 B
XML
<?xml version="1.0" encoding='UTF-8' ?>
|
|
<odoo>
|
|
<record id="view_sale_order_form" model="ir.ui.view">
|
|
<field name="name">view.sale_order.form</field>
|
|
<field name="model">sale.order</field>
|
|
<field name="inherit_id" ref="sale.view_order_form" />
|
|
<field name="arch" type="xml">
|
|
|
|
|
|
<div class="oe_button_box" name="button_box">
|
|
<button
|
|
name="action_view_subscriptions"
|
|
attrs="{'invisible': [('subscriptions_count', '=', 0)]}"
|
|
type="object"
|
|
class="oe_stat_button"
|
|
icon="fa-pencil-square-o"
|
|
>
|
|
<field
|
|
name="subscriptions_count"
|
|
widget="statinfo"
|
|
string="Subscriptions"
|
|
/>
|
|
</button>
|
|
</div>
|
|
|
|
|
|
</field>
|
|
</record>
|
|
</odoo>
|