27 lines
1.4 KiB
XML
27 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="view_account_analytic_account_form_inherit_budget" model="ir.ui.view">
|
|
<field name="name">account.analytic.account.form.inherit</field>
|
|
<field name="model">account.analytic.account</field>
|
|
<field name="inherit_id" ref="analytic.view_account_analytic_account_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//notebook" position="inside">
|
|
<page string="Budgets">
|
|
<field name="budget_line_ids" widget="one2many">
|
|
<list create="0" delete="0" editable="bottom">
|
|
<field name="currency_id" column_invisible="True"/>
|
|
<field name="budget_analytic_id" readonly="1" optional="show"/>
|
|
<field name="company_id" groups="base.group_multi_company" readonly="1" optional="hide"/>
|
|
<field name="date_from" readonly="1"/>
|
|
<field name="date_to" readonly="1"/>
|
|
<field name="budget_amount" readonly="budget_analytic_state != 'draft'"/>
|
|
<field name="achieved_amount" readonly="1"/>
|
|
<field name="budget_analytic_state" optional="show"/>
|
|
</list>
|
|
</field>
|
|
</page>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|