769eafb483
Flectra is Forked from Odoo v11 commit : (6135e82d73
)
114 lines
5.1 KiB
XML
114 lines
5.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
|
|
<record id="view_res_bank_form" model="ir.ui.view">
|
|
<field name="name">res.bank.form</field>
|
|
<field name="model">res.bank</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Bank">
|
|
<group col="4">
|
|
<field name="name"/>
|
|
<field name="bic"/>
|
|
</group>
|
|
<group>
|
|
<group string="Address">
|
|
<label for="street" string="Address"/>
|
|
<div class="o_address_format">
|
|
<field name="street" placeholder="Street..." class="o_address_street"/>
|
|
<field name="street2" placeholder="Street 2..." class="o_address_street"/>
|
|
<field name="city" placeholder="City" class="o_address_city"/>
|
|
<field name="state" class="o_address_state" placeholder="State" options='{"no_open": True}'/>
|
|
<field name="zip" placeholder="ZIP" class="o_address_zip"/>
|
|
<field name="country" placeholder="Country" class="o_address_country" options='{"no_open": True, "no_create": True}'/>
|
|
</div>
|
|
</group>
|
|
<group string="Communication">
|
|
<field name="phone"/>
|
|
<field name="email" widget="email"/>
|
|
<field name="active"/>
|
|
</group>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
<record id="view_res_bank_tree" model="ir.ui.view">
|
|
<field name="name">res.bank.tree</field>
|
|
<field name="model">res.bank</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Banks">
|
|
<field name="name"/>
|
|
<field name="bic"/>
|
|
<field name="country"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
<record id="action_res_bank_form" model="ir.actions.act_window">
|
|
<field name="name">Banks</field>
|
|
<field name="res_model">res.bank</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree,form</field>
|
|
<field name="help" type="html">
|
|
<p class="oe_view_nocontent_create">
|
|
Click to create a new bank.
|
|
</p><p>
|
|
Manage bank records you want to be used in the system.
|
|
</p>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_partner_bank_form" model="ir.ui.view">
|
|
<field name="name">res.partner.bank.form</field>
|
|
<field name="model">res.partner.bank</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Bank account">
|
|
<group col="4">
|
|
<field name="acc_number"/>
|
|
<field name="bank_id"/>
|
|
<field name="currency_id" groups="base.group_multi_currency" options="{'no_create': True}"/>
|
|
<field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
<record id="view_partner_bank_tree" model="ir.ui.view">
|
|
<field name="name">res.partner.bank.tree</field>
|
|
<field name="model">res.partner.bank</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Bank Accounts">
|
|
<field name="sequence" invisible="1"/>
|
|
<field name="acc_number"/>
|
|
<field name="bank_name"/>
|
|
<field name="company_id" groups="base.group_multi_company"/>
|
|
<field name="partner_id"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
<record id="view_partner_bank_search" model="ir.ui.view">
|
|
<field name="name">res.partner.bank.search</field>
|
|
<field name="model">res.partner.bank</field>
|
|
<field name="arch" type="xml">
|
|
<search string="Bank Accounts">
|
|
<field name="bank_name" filter_domain="['|', ('bank_name','ilike',self), ('acc_number','ilike',self)]" string="Bank Name"/>
|
|
<field name="company_id" invisible="context.get('company_hide', True)"/>
|
|
<field name="partner_id"/>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
<record id="action_res_partner_bank_account_form" model="ir.actions.act_window">
|
|
<field name="name">Bank Accounts</field>
|
|
<field name="res_model">res.partner.bank</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree,form</field>
|
|
<field name="help" type="html">
|
|
<p class="oe_view_nocontent_create">
|
|
Click to create a bank account.
|
|
</p>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
</data>
|
|
</odoo>
|
|
|