Files
account-tools/account_budget_forecast/views/sale_order.xml
2022-06-30 14:14:58 +02:00

23 lines
823 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_order_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">
<header position="inside">
<button name="sync_missing_budget_lines" string="Sync missing budget lines" type="object" />
</header>
<div name="button_box">
<button type="object" name="action_budget_forecast" class="oe_stat_button" icon="fa-usd">
<field name="plan_amount_with_coeff" widget="statinfo" string="Budget" />
</button>
</div>
<xpath expr="//field[@name='order_line']/tree/field[@name='name']" position="after">
<field name="budget_forecast_id" optional="show" />
</xpath>
</field>
</record>
</odoo>