docx_report_generation/views/res_partner_contract_annex.xml
2020-01-28 18:57:03 +05:00

52 lines
2.4 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<odoo>
<data noupdate="0">
<!-- res.partner.contract.annex form view -->
<record id="res_partner_contract_annex_view_form" model="ir.ui.view">
<field name="name">res.partner.contract.annex.view.form</field>
<field name="model">res.partner.contract.annex</field>
<field name="arch" type="xml">
<form string="Contract Annex">
<sheet>
<group name="options" invisible="1">
<field name="display_name" invisible="1"/>
<field name="currency_id" invisible="1"/>
</group>
<group name="info" string="Info">
<field name="name" placeholder="Leave empty for compute"/>
<field name="contract_id" attrs="{'invisible': [('contract_id', '=', False)]}"/>
<field name="order_id" options="{'no_create': True}"/>
<field name="date_conclusion"/>
</group>
<group name="design" string="Design">
<field name="design_period"/>
<field name="design_cost"/>
<field name="design_doc_period"/>
<field name="design_doc_cost"/>
</group>
<group name="delivery" string="Delivery">
<field name="delivery_address"/>
<field name="delivery_period"/>
</group>
<group name="installation" string="Installation">
<field name="installation_address"/>
<field name="installation_period"/>
<field name="installation_cost"/>
</group>
<group name="payment" string="Payment">
<field name="total_cost"/>
<field name="payment_part_one" widget="integer"/>
<field name="payment_part_two" widget="integer"/>
<field name="payment_part_three" widget="integer"/>
</group>
</sheet>
</form>
</field>
</record>
</data>
</odoo>