summaryrefslogtreecommitdiff
path: root/addons/base_setup/base_setup_installer.xml
diff options
context:
space:
mode:
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>2011-05-12 21:36:33 +0200
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>2011-05-12 21:36:33 +0200
commitb21655ea295eaabb8c4b067657466059adb2aa84 (patch)
tree5677a625e855d5d5e1fd40fc5c92018f96a82791 /addons/base_setup/base_setup_installer.xml
parent3703b2ed589fdf62ce3397639015d86e88e155ae (diff)
parent4199b38fe71d908339b584c2aed0f6a80661cc58 (diff)
[MERGE] merged dev branch
bzr revid: qdp-launchpad@openerp.com-20110512193633-j1jfda3x9uwcxq2b
Diffstat (limited to 'addons/base_setup/base_setup_installer.xml')
-rw-r--r--addons/base_setup/base_setup_installer.xml58
1 files changed, 17 insertions, 41 deletions
diff --git a/addons/base_setup/base_setup_installer.xml b/addons/base_setup/base_setup_installer.xml
index 3fb9eaeb287..286aa817289 100644
--- a/addons/base_setup/base_setup_installer.xml
+++ b/addons/base_setup/base_setup_installer.xml
@@ -116,52 +116,22 @@
</record>
<!-- Import or create customers configartion view -->
-
- <record id="view_import_create_installer" model="ir.ui.view">
- <field name="name">Import or create customers </field>
- <field name="model">product.installer</field>
- <field name="type">form</field>
- <field name="inherit_id" ref="base.res_config_view_base"/>
- <field name="arch" type="xml">
- <data>
- <form position="attributes">
- <attribute name="string">Import or create customers </attribute>
- </form>
- <separator string="title" position="attributes">
- <attribute name="string">Import or create customers </attribute>
- </separator>
- <xpath expr="//label[@string='description']"
- position="attributes">
- <attribute name="string">Create some customers, suppliers and their contacts manually or import a CSV spreadsheet by clicking on the import link</attribute>
- </xpath>
- <xpath expr='//separator[@string="vsep"]' position='attributes'>
- <attribute name='rowspan'>15</attribute>
- <attribute name='string'></attribute>
- </xpath>
-
- <group string="res_config_contents" position="replace">
- <group colspan="4">
- <field colspan="4" name="customers" width="200"/>
- </group>
- </group>
- </data>
- </field>
- </record>
<record id="action_import_create_installer" model="ir.actions.act_window">
<field name="name">Import or create customers </field>
<field name="type">ir.actions.act_window</field>
- <field name="res_model">product.installer</field>
- <field name="view_id" ref="view_import_create_installer"/>
+ <field name="res_model">res.partner</field>
<field name="view_type">form</field>
- <field name="view_mode">form</field>
- <field name="target">new</field>
+ <field name="view_mode">tree,form</field>
+ <field name="view_id" ref="base.view_partner_tree"/>
+ <field name="help">Create some customers, suppliers and their contacts manually or import a CSV spreadsheet by clicking on the import link</field>
</record>
<!-- register configuration wizard -->
- <record id="config_wizard_res_product_installer" model="ir.actions.todo">
+ <record id="config_wizard_action_import_create_installer" model="ir.actions.todo">
<field name="action_id" ref="action_import_create_installer"/>
<field name="type">normal</field>
+ <field name="target">current</field>
<field name="state">skip</field>
</record>
@@ -182,7 +152,7 @@
</xpath>
<xpath expr="//label[@string='description']"
position="attributes">
- <attribute name="string">Specify default values. These data are just default values, each user is free to change his own preferences.</attribute>
+ <attribute name="string">Specify default values.This will set the default values for each new user, each user is free to change his own preferences.</attribute>
</xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'>
<attribute name='string'></attribute>
@@ -218,10 +188,10 @@
<field name="state">skip</field>
</record>
- <!-- Config Wiz Give access to others users -->
+ <!-- Config Wiz Create New User's Login -->
<record id="action_config_access_other_user" model="ir.actions.act_window">
- <field name="name">Give access to others users</field>
+ <field name="name">Create New User's Login</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.users</field>
<field name="view_type">form</field>
@@ -251,13 +221,19 @@
<newline/>
<separator string="" colspan="4"/>
<group colspan="4" col="2">
- <button name="%(action_res_company_logo)d"
- string="Upload/Change Logo" type="action" icon="gtk-open"/>
<button name="preview_report" string="Preview Report" type="object" icon="gtk-print"/>
</group>
</field>
</field>
</record>
+
+ <!-- register Upload Logo configuration wizard -->
+
+ <record id="config_wizard_action_res_company_logo" model="ir.actions.todo">
+ <field name="action_id" ref="action_res_company_logo"/>
+ <field name="type">normal</field>
+ <field name="state">cancel</field>
+ </record>
</data>
</openerp>