<?xml version="1.0"?>
<terp>
<data>
	<!--
	======================
	Languages
	======================
	-->
	<record model="ir.ui.view" id="view_lang">
		<field name="name">Languages</field>
		<field name="model">res.lang</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="Language">
				<field name="name" select="1"/>
				<field name="code" select="1"/>
				<field name="translatable"/>
			</form>
		</field>
	</record>
	<record model="ir.actions.act_window" id="action_lang">
		<field name="name">res.lang</field>
		<field name="type">ir.actions.act_window</field>
		<field name="res_model">res.lang</field>
		<field name="view_type">form</field>
	</record>
	<menuitem name="Administration/Interface/Languages" action="action_lang"/>
	
	<ir_set>
		<field name="key" eval="'meta'"/>
		<field name="key2" eval="'lang'"/>
		<field name="models" eval="['res.users']"/>
		<field name="name">lang</field>
		<field name="value" eval="False"/>
		<field name="meta" eval="{'type':'selection', 'string':'Language', 'selection':[(False,'en')]}"/>
		<field name="replace" eval="True"/>
	</ir_set>

	<!--
	======================
	Groups
	======================
	-->
	<record model="ir.ui.view" id="view_groups_form">
		<field name="name">res.groups.form</field>
		<field name="model">res.groups</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="Groups">
				<field name="name" colspan="3" select="1"/>
			</form>
		</field>
	</record>
	
	<!--
	======================
	Users
	======================
	-->
	<record model="ir.ui.view" id="view_users_form">
		<field name="name">res.users.form</field>
		<field name="model">res.users</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="Users">
				<field name="name" colspan="3" select="1"/>
				<field name="login" select="1"/>
				<field name="password"/>
				<field name="signature"/>
				<field name="address_id"/>
				<field name="company_id" required="1"/>
				<field name="action_id" domain="[('usage','=','menu')]"/>
				<newline/>
				<field name="groups_id"/>
				<field name="roles_id"/>
			</form>
		</field>
	</record>
	<record model="ir.ui.view" id="view_users_tree">
		<field name="name">res.users.tree</field>
		<field name="model">res.users</field>
		<field name="type">tree</field>
		<field name="arch" type="xml">
			<tree string="Users">
				<field name="name"/>
				<field name="login"/>
			</tree>
		</field>
	</record>

	<!--
	======================
	Company
	======================
	-->
	<record model="ir.ui.view" id="view_company_form">
		<field name="name">res.company.form</field>
		<field name="model">res.company</field>
		<field name="type">form</field>
		<field name="arch" type="xml">
			<form string="Company">
				<field name="name" colspan="3" select="1"/>
				<field name="partner_id" select="1"/>
				<field name="parent_id" select="1"/>
				<field name="rml_header1"/>
				<field name="rml_footer1"/>
				<field name="rml_footer2"/>
			</form>
		</field>
	</record>
	<record model="ir.ui.view" id="view_company_tree">
		<field name="name">res.company.tree</field>
		<field name="model">res.company</field>
		<field name="type">tree</field>
		<field name="field_parent">child_ids</field>
		<field name="arch" type="xml">
			<tree string="Companies">
				<field name="name"/>
				<field name="partner_id"/>
			</tree>
		</field>
	</record>
</data>
</terp>
