105 lines
4.2 KiB
XML
105 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="view_currency_tree" model="ir.ui.view">
|
|
<field name="name">res.currency.tree</field>
|
|
<field name="model">res.currency</field>
|
|
<field name="type">tree</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Currencies">
|
|
<field name="name"/>
|
|
<field name="company_id" select="2" />
|
|
<field name="rate_ids" invisible="1"/>
|
|
<field name="date"/>
|
|
<field name="rate"/>
|
|
<field name="rounding"/>
|
|
<field name="accuracy"/>
|
|
<field name="active"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
<record id="view_currency_form" model="ir.ui.view">
|
|
<field name="name">res.currency.form</field>
|
|
<field name="model">res.currency</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Currency">
|
|
<group col="6" colspan="6">
|
|
<field name="name" select="1"/>
|
|
<field name="rate"/>
|
|
<field name="company_id" select="2" groups="base.group_multi_company" />
|
|
<field name="symbol"/>
|
|
</group>
|
|
|
|
<group col="2" colspan="2">
|
|
<separator string="Price Accuracy" colspan="2"/>
|
|
<field name="rounding"/>
|
|
<field name="accuracy"/>
|
|
</group>
|
|
|
|
<group col="2" colspan="2">
|
|
<separator string="Miscelleanous" colspan="2"/>
|
|
<field name="base"/>
|
|
<field name="active" select="1"/>
|
|
<field name="position_on_report" />
|
|
</group>
|
|
|
|
<field colspan="4" mode="tree,form" name="rate_ids" nolabel="1" attrs="{'readonly':[('base','=',True)]}">
|
|
<form string="Rates">
|
|
<field name="name"/>
|
|
<field name="rate"/>
|
|
</form>
|
|
<tree string="Rates">
|
|
<field name="name"/>
|
|
<field name="rate"/>
|
|
</tree>
|
|
</field>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
<record id="action_currency_form" model="ir.actions.act_window">
|
|
<field name="name">Currencies</field>
|
|
<field name="res_model">res.currency</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
|
|
<menuitem action="action_currency_form" id="menu_action_currency_form" parent="menu_localisation" sequence="3"/>
|
|
|
|
<!--
|
|
Currency Rate Type
|
|
-->
|
|
<record id="view_currency_rate_type_form" model="ir.ui.view">
|
|
<field name="name">res.currency.rate.type.form</field>
|
|
<field name="model">res.currency.rate.type</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Currency Rate Type">
|
|
<field name="name"/>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_currency_rate_type_form" model="ir.actions.act_window">
|
|
<field name="name">Currency Rate Type</field>
|
|
<field name="res_model">res.currency.rate.type</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
|
|
<record id="view_currency_rate_type_search" model="ir.ui.view">
|
|
<field name="name">res.currency.rate.type.search</field>
|
|
<field name="model">res.currency.rate.type</field>
|
|
<field name="type">search</field>
|
|
<field name="arch" type="xml">
|
|
<search string="Currency Rate Type">
|
|
<field name="name"/>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
</data>
|
|
</openerp>
|