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.
 
 
 
 
 

60 lines
2.8 KiB

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!--Configuration Layout View-->
<record id="documents_custom_tempates" model="ir.ui.view">
<field name="name">document.custom.layout</field>
<field name="model">doc.layout</field>
<field name="arch" type="xml">
<form string="Customize Document">
<sheet>
<div class="oe_title">
<h1>
<field name="name"/>
</h1>
</div>
<group>
<group>
<field name="text_color" widget="color"/>
<field name="heading_text_color" widget="color"/>
<field name="customer_text_color" widget="color"/>
<field name="company_text_color" widget="color"/>
<field name="base_color" widget="color"/>
</group>
<group>
<field name="customer_position" required="1"/>
<field name="company_position" required="1"/>
<field name="logo_position" required="1"/>
<field name="tagline_position" required="1"/>
</group>
</group>
<notebook colspan="4">
<page string="Invoice Details" name="invoice_info">
<group>
<group string="View Fields">
<field name="sales_person"/>
<field name="description"/>
<field name="tax_value"/>
<field name="reference"/>
<field name="source"/>
</group>
<group string="Customer Details"
name="customer_info">
<field name="address"/>
<field name="city"
readonly="address != True"
/>
<field name="country"
readonly="address != True"
/>
<field name="vat"
readonly="address != True"
/>
</group>
</group>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
</odoo>