1
<?xml version="1.0" encoding="utf-8"?>
6
Debit note default account configuration
9
<record model="ir.ui.view" id="view_company_inherit_3_form">
10
<field name="name">res.company.form.inherit</field>
11
<field name="inherit_id" ref="base.view_company_form"/>
12
<field name="model">res.company</field>
13
<field name="type">form</field>
14
<field name="arch" type="xml">
15
<page string="Configuration" position="inside">
16
<group col="2" colspan="2">
17
<separator string="Re-billing Inter-section account" colspan="2"/>
18
<field name="import_invoice_default_account" colspan="2"
19
domain="['|','|', '&',('type','=','receivable'),('user_type_code','=','receivables'),'&',('type','=','receivable'), ('user_type_code','=','cash'),'&', ('type','=','other'),('user_type_code','=','cash')]"/>
21
<group col="2" colspan="2">
22
<separator string="Intermission configuration" colspan="2"/>
23
<field name="intermission_default_counterpart" domain="[('type', '!=', 'view')]" colspan="2"/>
25
<group col="2" colspan="2">
26
<separator string="Income accounts specific configuration" colspan="2"/>
27
<field name="additional_allocation" colspan="2"/>
29
<group col="2" colspan="2">
30
<separator string="Revaluation account" colspan="2"/>
31
<field name="revaluation_default_account" colspan="2"
32
domain="[('type', '!=', 'view'),('user_type_code', '=', 'expense')]"/>
35
<xpath expr="/form//field[@name='currency_id']" position="replace">
36
<field name="currency_id" readonly="1" />