2008-07-01 15:58:58 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2008-09-10 17:55:20 +00:00
|
|
|
<openerp>
|
2008-06-29 08:26:07 +00:00
|
|
|
<data>
|
|
|
|
<!--
|
2008-08-24 17:10:28 +00:00
|
|
|
======================
|
|
|
|
Languages
|
|
|
|
======================
|
|
|
|
-->
|
2008-12-11 08:19:31 +00:00
|
|
|
<menuitem id="next_id_2" name="User Interface" parent="base.menu_custom"/>
|
2008-07-02 08:42:47 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<!--
|
2008-08-24 17:10:28 +00:00
|
|
|
======================
|
|
|
|
Groups
|
|
|
|
======================
|
|
|
|
-->
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="view_groups_form" model="ir.ui.view">
|
|
|
|
<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">
|
2008-08-28 23:46:26 +00:00
|
|
|
<field colspan="4" name="name" select="1"/>
|
|
|
|
<notebook colspan="4">
|
|
|
|
<page string="Users">
|
|
|
|
<field colspan="4" name="users" nolabel="1"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</page>
|
2008-07-01 15:58:58 +00:00
|
|
|
<page string="Menus">
|
2008-08-28 23:46:26 +00:00
|
|
|
<field colspan="4" name="menu_access" nolabel="1"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</page>
|
2008-08-28 23:46:26 +00:00
|
|
|
<page string="Access Rights">
|
|
|
|
<field colspan="4" name="model_access" nolabel="1">
|
2008-07-28 15:43:35 +00:00
|
|
|
<tree string="Access Rules" editable="top">
|
|
|
|
<field name="model_id"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="perm_read"/>
|
|
|
|
<field name="perm_write"/>
|
|
|
|
<field name="perm_create"/>
|
|
|
|
<field name="perm_unlink"/>
|
2008-07-28 15:43:35 +00:00
|
|
|
<field name="name"/>
|
|
|
|
</tree>
|
2008-07-01 15:58:58 +00:00
|
|
|
<form string="Access Controls">
|
|
|
|
<field colspan="4" name="name" select="1"/>
|
|
|
|
<field name="model_id" select="1"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
<newline/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="perm_read"/>
|
|
|
|
<field name="perm_write"/>
|
|
|
|
<field name="perm_create"/>
|
|
|
|
<field name="perm_unlink"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
2008-08-28 23:46:26 +00:00
|
|
|
</page>
|
|
|
|
<page string="Rules">
|
2008-09-02 21:31:44 +00:00
|
|
|
<field colspan="4" name="rule_groups" nolabel="1">
|
2008-07-28 15:43:35 +00:00
|
|
|
<tree string="Rules">
|
|
|
|
<field name="name"/>
|
|
|
|
<field name="model_id"/>
|
|
|
|
<field name="global"/>
|
|
|
|
</tree>
|
2008-06-29 08:26:07 +00:00
|
|
|
</field>
|
2008-08-28 23:46:26 +00:00
|
|
|
</page><page string="Notes">
|
|
|
|
<field colspan="4" name="comment" nolabel="1"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-07-02 08:42:47 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<!--
|
2008-08-24 17:10:28 +00:00
|
|
|
======================
|
|
|
|
Users
|
|
|
|
======================
|
|
|
|
-->
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="view_users_form_simple_modif" model="ir.ui.view">
|
|
|
|
<field name="name">res.users.form.modif</field>
|
|
|
|
<field name="model">res.users</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field eval="18" name="priority"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Users">
|
2009-01-21 13:51:22 +00:00
|
|
|
<field name="password" password="True" readonly="0"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<label colspan="4" string="Please note that you will have to logout and relog if you change your password."/>
|
2009-12-09 08:57:39 +00:00
|
|
|
<field name="company_id" widget="selection"/>
|
2009-01-21 13:51:22 +00:00
|
|
|
<field name="context_lang" completion="1" readonly="0"/>
|
2009-09-17 07:27:12 +00:00
|
|
|
<field name="context_tz" completion="1" readonly="0" colspan="4"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
<newline/>
|
2009-01-21 13:51:22 +00:00
|
|
|
<field colspan="4" name="signature" readonly="0"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-07-02 08:42:47 +00:00
|
|
|
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="view_users_form" model="ir.ui.view">
|
|
|
|
<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">
|
2008-08-28 23:46:26 +00:00
|
|
|
<field name="name" select="1"/>
|
2009-10-29 13:46:43 +00:00
|
|
|
<field name="active"/>
|
2008-08-28 23:46:26 +00:00
|
|
|
<field name="login" select="1"/>
|
2008-09-22 14:51:25 +00:00
|
|
|
<field name="password" password="True"/>
|
2008-08-28 23:46:26 +00:00
|
|
|
<notebook colspan="4">
|
2008-07-01 15:58:58 +00:00
|
|
|
<page string="User">
|
2009-10-29 13:46:43 +00:00
|
|
|
<field name="address_id" select="1"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="company_id" required="1"/>
|
|
|
|
<field name="action_id" required="True"/>
|
|
|
|
<field domain="[('usage','=','menu')]" name="menu_id" required="True"/>
|
|
|
|
<field name="context_lang"/>
|
|
|
|
<field name="context_tz"/>
|
|
|
|
<field colspan="4" name="signature"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</page>
|
2008-08-28 23:46:26 +00:00
|
|
|
<page string="Groups">
|
|
|
|
<field colspan="4" nolabel="1" name="groups_id"/>
|
|
|
|
</page>
|
|
|
|
<page string="Roles">
|
|
|
|
<field colspan="4" nolabel="1" name="roles_id"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</page>
|
2009-09-17 07:27:12 +00:00
|
|
|
<page string="Accepted Companies">
|
2009-10-29 13:46:43 +00:00
|
|
|
<field colspan="4" nolabel="1" name="company_ids" select="1"/>
|
2009-09-17 07:27:12 +00:00
|
|
|
</page>
|
2008-06-29 08:26:07 +00:00
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="view_users_tree" model="ir.ui.view">
|
|
|
|
<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"/>
|
2009-11-10 12:46:31 +00:00
|
|
|
<field name="company_id"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-07-02 08:42:47 +00:00
|
|
|
|
2009-10-29 13:46:43 +00:00
|
|
|
<record id="view_users_search" model="ir.ui.view">
|
|
|
|
<field name="name">res.users.search</field>
|
|
|
|
<field name="model">res.users</field>
|
|
|
|
<field name="type">search</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<search string="Users">
|
|
|
|
<field name="name" select="1"/>
|
|
|
|
<field name="login" select="1"/>
|
|
|
|
<field name="address_id" select="1" string="Partner"/>
|
|
|
|
<field name="company_ids" select="1" string="Company"/>
|
|
|
|
</search>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-06-29 08:26:07 +00:00
|
|
|
<!--
|
2008-08-24 17:10:28 +00:00
|
|
|
======================
|
|
|
|
Company
|
|
|
|
======================
|
|
|
|
-->
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="view_company_form" model="ir.ui.view">
|
|
|
|
<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">
|
2008-08-28 23:46:26 +00:00
|
|
|
<field colspan="4" name="name" select="1"/>
|
|
|
|
<field name="partner_id" select="1"/>
|
|
|
|
<field name="parent_id" select="1"/>
|
|
|
|
<notebook colspan="4">
|
2008-07-01 15:58:58 +00:00
|
|
|
<page string="General Information">
|
2009-11-21 07:28:26 +00:00
|
|
|
<field name="rml_header1" colspan="4"/>
|
|
|
|
<field name="rml_footer1" colspan="4"/>
|
|
|
|
<field name="rml_footer2" colspan="4"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="currency_id"/>
|
|
|
|
<separator colspan="4" string="Your Logo - Use a size of about 450x150 pixels."/>
|
|
|
|
<field colspan="4" name="logo" widget="image"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</page>
|
2009-11-10 12:46:31 +00:00
|
|
|
<page string="Currency">
|
|
|
|
<field name="currency_ids" colspan="4" nolabel="1"/>
|
|
|
|
</page>
|
2008-07-01 15:58:58 +00:00
|
|
|
<page string="Header/Footer">
|
|
|
|
<field colspan="4" name="rml_header" nolabel="1"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</page>
|
2008-07-01 15:58:58 +00:00
|
|
|
<page string="Internal Header/Footer">
|
|
|
|
<field colspan="4" name="rml_header2" nolabel="1"/>
|
2008-07-01 04:05:21 +00:00
|
|
|
</page>
|
2008-09-07 23:25:24 +00:00
|
|
|
<page string="Configuration">
|
|
|
|
</page>
|
2008-06-29 08:26:07 +00:00
|
|
|
</notebook>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="view_company_tree" model="ir.ui.view">
|
|
|
|
<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"/>
|
2008-06-29 08:26:07 +00:00
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</record>
|
2008-07-02 08:42:47 +00:00
|
|
|
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="view_users_configuration_form" model="ir.ui.view">
|
2009-12-04 10:15:43 +00:00
|
|
|
<field name="name">res.config.users.confirm.form</field>
|
|
|
|
<field name="model">res.config.users</field>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="type">form</field>
|
2009-12-08 14:48:35 +00:00
|
|
|
<field name="inherit_id" ref="res_config_view_base"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="arch" type="xml">
|
2009-12-08 14:48:35 +00:00
|
|
|
<data>
|
|
|
|
<form position="attributes">
|
|
|
|
<attribute name="string">Create User</attribute>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<group string="res_config_contents" position="replace">
|
2009-12-17 16:07:38 +00:00
|
|
|
<separator string="New User" colspan="4"/>
|
2009-12-17 17:09:05 +00:00
|
|
|
<field name="previous_signature" invisible="1"/>
|
|
|
|
<field name="name"
|
|
|
|
on_change="generate_signature(name, email,
|
|
|
|
previous_signature, signature)"/>
|
|
|
|
<field name="email"
|
|
|
|
on_change="generate_signature(name, email,
|
|
|
|
previous_signature, signature)"/>
|
2009-12-17 16:20:35 +00:00
|
|
|
<field name="login"/>
|
2009-12-08 14:48:35 +00:00
|
|
|
<field name="password" password="True"/>
|
2009-12-17 16:07:38 +00:00
|
|
|
<field name="context_lang"/>
|
|
|
|
<field name="context_tz"/>
|
2009-12-17 17:09:05 +00:00
|
|
|
<field colspan="4" name="signature"
|
|
|
|
on_change="generate_signature(name, email,
|
|
|
|
previous_signature, signature)"/>
|
2009-12-17 16:07:38 +00:00
|
|
|
|
|
|
|
<separator string="Group" colspan="4"/>
|
|
|
|
<label align="0.0" colspan="4" string="
|
|
|
|
Groups are used to define access rights on objects and
|
|
|
|
the visibility of screens and menus"/>
|
|
|
|
<field colspan="4" nolabel="1" name="groups_id"/>
|
|
|
|
|
|
|
|
<separator string="Roles" colspan="4"/>
|
|
|
|
<label align="0.0" colspan="4" string="
|
|
|
|
Roles restrict the workflow actions visible to the user."/>
|
|
|
|
<field colspan="4" nolabel="1" name="roles_id"/>
|
2009-12-08 14:48:35 +00:00
|
|
|
</group>
|
2009-12-17 16:07:38 +00:00
|
|
|
<xpath expr='//button[@name="action_skip"]'
|
|
|
|
position='attributes'>
|
|
|
|
<attribute name='string'>Next</attribute>
|
|
|
|
<attribute name='icon'>gtk-go-forward</attribute>
|
|
|
|
</xpath>
|
|
|
|
<xpath expr='//button[@name="action_next"]'
|
|
|
|
position='attributes'>
|
2009-12-08 14:48:35 +00:00
|
|
|
<attribute name='string'>Add User</attribute>
|
2009-12-17 16:07:38 +00:00
|
|
|
<attribute name='icon'>gtk-add</attribute>
|
2009-12-08 14:48:35 +00:00
|
|
|
</xpath>
|
|
|
|
</data>
|
2008-06-29 08:26:07 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
2008-07-02 08:42:47 +00:00
|
|
|
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="action_config_user_form" model="ir.actions.act_window">
|
2009-12-07 10:21:50 +00:00
|
|
|
<field name="name">Create Users</field>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
2009-12-04 10:15:43 +00:00
|
|
|
<field name="res_model">res.config.users</field>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="view_users_configuration_form"/>
|
|
|
|
<field name="target">new</field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
2008-07-02 08:42:47 +00:00
|
|
|
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="view_confirm_simple_view_form" model="ir.ui.view">
|
|
|
|
<field name="name">res.users.confirm.simple_view</field>
|
|
|
|
<field name="model">res.config.view</field>
|
|
|
|
<field name="type">form</field>
|
2009-12-08 13:09:44 +00:00
|
|
|
<field name="inherit_id" ref="res_config_view_base"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="arch" type="xml">
|
2009-12-08 13:09:44 +00:00
|
|
|
<data>
|
|
|
|
<form position="attributes">
|
|
|
|
<attribute name="string">Select your Interface</attribute>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<group string="res_config_contents" position="replace">
|
2009-12-04 13:13:07 +00:00
|
|
|
<label colspan="4" align="0.0" string='
|
2009-12-17 15:30:08 +00:00
|
|
|
Choose between the simplified interface and the extended
|
|
|
|
one.'/>
|
|
|
|
<newline/>
|
|
|
|
<label colspan="4" align="0.0" string='
|
|
|
|
If you are testing OpenERP or using it for the first time,
|
|
|
|
we suggest you use the simplified interface. It has less
|
|
|
|
options and fields but is easier to understand.'/>
|
|
|
|
<newline/>
|
|
|
|
<label colspan="4" align="0.0" string='
|
|
|
|
You will be able to switch to the extended interface later.
|
2009-12-08 13:09:44 +00:00
|
|
|
'/>
|
2009-12-17 15:30:08 +00:00
|
|
|
<separator string="Choose Your Interface" colspan="4"/>
|
|
|
|
<field colspan="2" name="view" nolabel="1"/>
|
2009-12-08 13:09:44 +00:00
|
|
|
</group>
|
|
|
|
<xpath expr='//button[@name="action_skip"]' position='replace'/>
|
|
|
|
<xpath expr='//button[@name="action_next"]' position='attributes'>
|
|
|
|
<attribute name='string'>Set</attribute>
|
|
|
|
</xpath>
|
|
|
|
</data>
|
2008-06-29 08:26:07 +00:00
|
|
|
</field>
|
2008-06-20 11:49:23 +00:00
|
|
|
</record>
|
2008-07-02 08:42:47 +00:00
|
|
|
|
2008-07-01 15:58:58 +00:00
|
|
|
<record id="action_config_simple_view_form" model="ir.actions.act_window">
|
2009-12-07 10:21:50 +00:00
|
|
|
<field name="name">Select Your Interface</field>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">res.config.view</field>
|
|
|
|
<field name="view_type">form</field>
|
2009-12-08 13:09:44 +00:00
|
|
|
<field name="view_id" ref="view_confirm_simple_view_form"/>
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
2008-06-21 09:54:30 +00:00
|
|
|
</record>
|
2008-07-02 08:42:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
<!-- register on configuratuion -->
|
2008-07-02 08:42:47 +00:00
|
|
|
|
2008-12-18 18:01:54 +00:00
|
|
|
</data>
|
|
|
|
<data noupdate="1">
|
2008-09-29 08:49:06 +00:00
|
|
|
<record id="config_wizard_step_user" model="ir.actions.todo">
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="action_id" ref="action_config_user_form"/>
|
|
|
|
<field name="sequence">10</field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
2008-07-02 08:42:47 +00:00
|
|
|
|
2008-09-29 08:49:06 +00:00
|
|
|
<record id="config_wizard_simple_view" model="ir.actions.todo">
|
2008-07-01 15:58:58 +00:00
|
|
|
<field name="action_id" ref="action_config_simple_view_form"/>
|
|
|
|
<field name="sequence">5</field>
|
2008-06-29 08:26:07 +00:00
|
|
|
</record>
|
2008-07-02 08:42:47 +00:00
|
|
|
|
2008-06-29 08:26:07 +00:00
|
|
|
</data>
|
2008-09-10 17:55:20 +00:00
|
|
|
</openerp>
|