[MIG] Migration account_budget_forecast addons to v14.0
This commit is contained in:
23
account_budget_forecast/views/sale_order.xml
Normal file
23
account_budget_forecast/views/sale_order.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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>
|
Reference in New Issue
Block a user