summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@openerp.com>2012-08-11 12:03:22 +0200
committerFabien Pinckaers <fp@openerp.com>2012-08-11 12:03:22 +0200
commitc5c7ed79e39a2d7954d41e2155a0b03e69d2e45a (patch)
tree9de81d8f5383a0ca48304b339625df0a89b8b89e
parentd402784c747f884dccd0f4030828dcd382b901ed (diff)
[IMP] better menu tips and todo wizards
bzr revid: fp@openerp.com-20120811100322-jeh50k4c4wnbpmom
-rw-r--r--addons/account_voucher/account_voucher_view.xml15
-rw-r--r--addons/sale/sale_data.xml7
2 files changed, 21 insertions, 1 deletions
diff --git a/addons/account_voucher/account_voucher_view.xml b/addons/account_voucher/account_voucher_view.xml
index b212c07acb3..e5e01252dff 100644
--- a/addons/account_voucher/account_voucher_view.xml
+++ b/addons/account_voucher/account_voucher_view.xml
@@ -274,4 +274,19 @@
</record>
</data>
+ <data noupdate="1">
+
+ <!-- After installation of the module, open the related menu -->
+ <record id="action_client_invoice_menu" model="ir.actions.client">
+ <field name="name">Open Invoicing Menu</field>
+ <field name="tag">reload</field>
+ <field name="params" eval="{'menu_id': ref('account.menu_finance')}"/>
+ </record>
+ <record id="todo_open_invoice_menu" model="ir.actions.todo">
+ <field name="action_id" ref="action_client_invoice_menu"/>
+ <field name="type">automatic</field>
+ <field name="sequence">100</field>
+ </record>
+
+ </data>
</openerp>
diff --git a/addons/sale/sale_data.xml b/addons/sale/sale_data.xml
index 9bdb71bb6db..06ed65fbfad 100644
--- a/addons/sale/sale_data.xml
+++ b/addons/sale/sale_data.xml
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
+ <data>
+ <record id="account_voucher.todo_open_invoice_menu" model="ir.actions.todo">
+ <field name="state">done</field>
+ </record>
+ </data>
<data noupdate="1">
<!-- After installation of the module, open the related menu -->
@@ -40,7 +45,7 @@
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>The Sales Management application has been installed.</value>
- <value>&lt;b&gt;Click on the top menu &lt;i&gt;'Sales'&lt;/i&gt;&lt;/em&gt; to start managing your customers, sending quotations and processing sale orders.
+ <value>This modules allows you to create and send easily quotations and process your sales orders; from the delivery to the invoicing.
If you need to manage your sales pipeline (leads, opportunities, phonecalls), you can install the module &lt;i&gt;CRM&lt;/i&gt; from the top menu Settings.</value>
</function>