27 lines
1.1 KiB
XML
27 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="sale_order_view_form" model="ir.ui.view">
|
|
<field name="name">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 name="button_box" position="inside">
|
|
<button class="oe_stat_button" type="object" name="action_open_sale_order_spreadsheet"
|
|
icon="fa-th"
|
|
invisible="not spreadsheet_template_id or spreadsheet_id"
|
|
>
|
|
<field name="spreadsheet_template_id" widget="statinfo"/>
|
|
</button>
|
|
<button class="oe_stat_button" type="object" name="action_open_sale_order_spreadsheet"
|
|
icon="fa-th"
|
|
invisible="not spreadsheet_id"
|
|
>
|
|
<field name="spreadsheet_id" widget="statinfo" string="Quote calculator"/>
|
|
</button>
|
|
</div>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|