summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2011-10-01 23:44:27 +0200
committerFabien Pinckaers <fp@tinyerp.com>2011-10-01 23:44:27 +0200
commit431a33d0f9e257654b600b7e0f61f1de30c6c2e4 (patch)
tree73eca8ed098e76db89b06553549ac31050e831b8 /addons
parent4581faccf40366aea6f848521d78be9784eda4c2 (diff)
[IMP] config wizards useability
bzr revid: fp@tinyerp.com-20111001214427-podsy51mdlure2yo
Diffstat (limited to 'addons')
-rw-r--r--addons/account_followup/__openerp__.py5
-rw-r--r--addons/account_followup/account_followup_demo.xml2
-rw-r--r--addons/account_followup/account_followup_view.xml11
-rw-r--r--addons/hr_timesheet/hr_timesheet_installer.xml1
-rw-r--r--addons/project/project_installer.xml4
5 files changed, 11 insertions, 12 deletions
diff --git a/addons/account_followup/__openerp__.py b/addons/account_followup/__openerp__.py
index 8de7468e43a..9df99b720a2 100644
--- a/addons/account_followup/__openerp__.py
+++ b/addons/account_followup/__openerp__.py
@@ -52,10 +52,11 @@ Note that if you want to check the followup level for a given partner/account en
'security/ir.model.access.csv',
'wizard/account_followup_print_view.xml',
'report/account_followup_report.xml',
+ 'account_followup_demo.xml', # Defined by default
'account_followup_view.xml',
- 'account_followup_data.xml'
+ 'account_followup_data.xml',
],
- 'demo_xml': ['account_followup_demo.xml'],
+ 'demo_xml': [],
'test': ['test/account_followup.yml'],
'installable': True,
'active': False,
diff --git a/addons/account_followup/account_followup_demo.xml b/addons/account_followup/account_followup_demo.xml
index 01b275de306..3799033b24a 100644
--- a/addons/account_followup/account_followup_demo.xml
+++ b/addons/account_followup/account_followup_demo.xml
@@ -3,7 +3,7 @@
<data noupdate="1">
<record id="demo_followup1" model="account_followup.followup">
- <field name="name">Default follow-up</field>
+ <field name="name">Default Follow-Up</field>
<field name="company_id" ref="base.main_company"/>
<field name="description">First letter after 15 net days, 30 net days and 45 days end of month levels.</field>
</record>
diff --git a/addons/account_followup/account_followup_view.xml b/addons/account_followup/account_followup_view.xml
index f99a8b2c060..e6aee02ffdc 100644
--- a/addons/account_followup/account_followup_view.xml
+++ b/addons/account_followup/account_followup_view.xml
@@ -6,7 +6,7 @@
<field name="model">account_followup.followup.line</field>
<field name="type">tree</field>
<field name="arch" type="xml">
- <tree string="Follow-Up Lines">
+ <tree string="Follow-Up Steps">
<field name="name"/>
<field name="delay"/>
<field name="start" groups="base.group_extended"/>
@@ -19,7 +19,7 @@
<field name="model">account_followup.followup.line</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form string="Follow-Up Lines">
+ <form string="Follow-Up Steps">
<group col="6" colspan="4">
<field name="name"/>
<field name="delay"/>
@@ -45,7 +45,7 @@
<form string="Follow-Up">
<field name="name"/>
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
- <separator colspan="4" string=""/>
+ <newline/>
<field colspan="4" name="followup_line" nolabel="1"/>
</form>
</field>
@@ -73,10 +73,6 @@
<field name="name"/>
<field name="company_id" widget="selection" groups="base.group_multi_company"/>
</group>
- <newline/>
- <group expand="0" string="Group By...">
- <filter string="Company" icon="terp-go-home" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
- </group>
</search>
</field>
</record>
@@ -169,6 +165,7 @@
<field name="res_model">account_followup.followup</field>
<field name="view_type">form</field>
<field name="view_mode">form,tree</field>
+ <field name="context" eval="'{\'res_id\': %s}' % (ref('demo_followup1'),)"/>
<field name="view_id" ref="view_account_followup_followup_form"/>
</record>
diff --git a/addons/hr_timesheet/hr_timesheet_installer.xml b/addons/hr_timesheet/hr_timesheet_installer.xml
index 66289ed0c0c..cfd2cc8ab88 100644
--- a/addons/hr_timesheet/hr_timesheet_installer.xml
+++ b/addons/hr_timesheet/hr_timesheet_installer.xml
@@ -7,6 +7,7 @@
<field name="res_model">account.analytic.account</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
+ <field name="help">You should create an analytic account structure depending on your needs to analyse costs and revenues. In OpenERP, analytic accounts are also used to track customer contracts.</field>
</record>
<record id="todo_define_analytic_structure" model="ir.actions.todo">
diff --git a/addons/project/project_installer.xml b/addons/project/project_installer.xml
index 3150d250562..53b4cb0933a 100644
--- a/addons/project/project_installer.xml
+++ b/addons/project/project_installer.xml
@@ -30,11 +30,11 @@
</record>
<record id="action_create_initial_projects_installer" model="ir.actions.act_window">
- <field name="name">Create your initial projects</field>
+ <field name="name">Create your Firsts Projects</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">project.project</field>
<field name="view_type">form</field>
- <field name="view_mode">form</field>
+ <field name="view_mode">tree,form</field>
</record>
<record id="config_wizard_action_create_initial_projects_installer" model="ir.actions.todo">