diff options
| author | aag (OpenERP) <aag@tinyerp.co.in> | 2011-05-06 16:00:31 +0530 |
|---|---|---|
| committer | aag (OpenERP) <aag@tinyerp.co.in> | 2011-05-06 16:00:31 +0530 |
| commit | 824ef62fac56401ec0d95f0fe76291bcbc859f0a (patch) | |
| tree | 8e867b2b669d81d93d24a780fea62abce10f0e98 /addons/base_setup | |
| parent | 578668cd973a7993753e3a1632f961481176819d (diff) | |
[ADD]Base_setup:Import or create customers- showe List view of res.partner
bzr revid: aag@tinyerp.co.in-20110506103031-gjp3pkuav3ctbrut
Diffstat (limited to 'addons/base_setup')
| -rw-r--r-- | addons/base_setup/base_setup_installer.xml | 42 |
1 files changed, 6 insertions, 36 deletions
diff --git a/addons/base_setup/base_setup_installer.xml b/addons/base_setup/base_setup_installer.xml index a41329d6081..d5d26a8bebd 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> |
