From ca68b04782a0addae943b3b376d057006ac396cf Mon Sep 17 00:00:00 2001 From: "nch@tinyerp.com" <> Date: Mon, 10 May 2010 13:32:33 +0530 Subject: [PATCH] [IMP]:improve account installer bzr revid: nch@tinyerp.com-20100510080233-40pl984m3701qtud --- addons/account/account_installer.xml | 26 +++++++++++++--------- addons/base_setup/base_setup_installer.xml | 3 +++ 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/addons/account/account_installer.xml b/addons/account/account_installer.xml index e14e256b397a..c6c9a15262b0 100644 --- a/addons/account/account_installer.xml +++ b/addons/account/account_installer.xml @@ -24,18 +24,16 @@ <attribute name="string">Configure</attribute> </xpath> <xpath expr='//separator[@string="vsep"]' position='attributes'> - <attribute name='rowspan'>20</attribute> + <attribute name='rowspan'>23</attribute> + <attribute name='string'></attribute> + </xpath> + <xpath expr='//group[@string="progress"]' position='attributes'> + <attribute name='width'>190</attribute> <attribute name='string'></attribute> </xpath> <group colspan="8"> + <group colspan="4" height="450" width="600"> <field name="charts"/> - <group colspan="4" groups="base.group_extended"> - <separator col="4" colspan="4" string="Install Extra Account Module"/> - <field name="account_analytic_plans"/> - <field name="account_payment"/> - <field name="account_followup"/> - <field name="account_asset"/> - </group> <group colspan="4" attrs="{'invisible':[('charts','!=','configurable')]}"> <field name="sale_tax" colspan="2"/> <field name="purchase_tax" colspan="2"/> @@ -46,12 +44,12 @@ <form string="Bank Information"> <field name="acc_name"/> <field name="account_type"/> - <field name="currency_id"/> + <field name="currency_id" widget="selection"/> </form> <tree editable="bottom" string="Bank Information"> <field name="acc_name"/> <field name="account_type"/> - <field name="currency_id"/> + <field name="currency_id" widget="selection"/> </tree> </field> </group> @@ -61,6 +59,14 @@ <field name="date_stop"/> <field name="period" colspan="4"/> </group> + <group colspan="4" groups="base.group_extended"> + <separator col="4" colspan="4" string="Install Extra Account Module"/> + <field name="account_analytic_plans"/> + <field name="account_payment"/> + <field name="account_followup"/> + <field name="account_asset"/> + </group> + </group> </group> </data> </field> diff --git a/addons/base_setup/base_setup_installer.xml b/addons/base_setup/base_setup_installer.xml index 5419e5d65905..ba6b21d12680 100644 --- a/addons/base_setup/base_setup_installer.xml +++ b/addons/base_setup/base_setup_installer.xml @@ -20,6 +20,9 @@ If you don't think you need any of these right now, you can easily install them <xpath expr='//separator[@string="vsep"]' position='attributes'> <attribute name='string'></attribute> </xpath> + <xpath expr='//group[@string="progress"]' position='attributes'> + <attribute name='string'></attribute> + </xpath> <separator string="title" position="attributes"> <attribute name="string">Install Generic Modules</attribute> </separator> -- GitLab