You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
2.0 KiB
43 lines
2.0 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="account_analytic_invoice_line_form_view" model="ir.ui.view">
|
|
<field name="name">account.analytic.invoice.line.view</field>
|
|
<field name="model">account.analytic.invoice.line</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Line Information">
|
|
<group>
|
|
<group>
|
|
<field name="analytic_account_id"/>
|
|
<field name="automatic_price"/>
|
|
</group>
|
|
<group>
|
|
<field name="product_id"/>
|
|
<field name="name"/>
|
|
<field name="quantity"/>
|
|
<field name="uom_id"/>
|
|
<field name="price_unit"/>
|
|
<field name="variation_percent"/>
|
|
<label for="date_start" string="Validity"/>
|
|
<div><field name="date_start" class="oe_inline"/> to <field name="date_end" class="oe_inline"/></div>
|
|
<field name="discount"/>
|
|
<field name="price_subtotal"/>
|
|
</group>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
<record id="account_analytic_account_recurring_form_form" model="ir.ui.view">
|
|
<field name="name">Contract form price revision</field>
|
|
<field name="model">account.analytic.account</field>
|
|
<field name="inherit_id" ref="contract.account_analytic_account_recurring_form_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name="price_unit" position="after">
|
|
<field name="variation_percent" attrs="{'readonly': [('automatic_price', '=', True)]}"/>
|
|
<field name="date_start" attrs="{'readonly': [('automatic_price', '=', True)]}"/>
|
|
<field name="date_end" attrs="{'readonly': [('automatic_price', '=', True)]}"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|