[REV] account_voucher: reverted change in notification of account_voucher, somebody...
authorThibault Delavallée <tde@openerp.com>
Wed, 19 Sep 2012 13:43:47 +0000 (15:43 +0200)
committerThibault Delavallée <tde@openerp.com>
Wed, 19 Sep 2012 13:43:47 +0000 (15:43 +0200)
bzr revid: tde@openerp.com-20120919134347-0tp2r52dfzddcuh5

addons/account_voucher/account_voucher_data.xml

index b69a694..938836c 100644 (file)
@@ -1,17 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <openerp>
     <data noupdate="1">
-        <!-- notify all employees of module installation -->
-        <function model="mail.group" name="message_post">
-            <!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
-            <value eval="[ref('mail.group_all_employees')]"/>
-            <value>OpenERP's electronic invoicing allows to ease and fasten the creation of invoices and collection of customer payments. Invoices are created in a few clicks and your customers receive them by email. They can pay online and/or import them in their own system.
-
-You can track customer payments easily and automate the reminders. You get an overview of the discussion with your customers on each invoice to ensure a full traceability.
 
-If you want to use advanced accounting features, you should install the "Accounting and Finance" module.</value>
-            <value>Module eInvoicing &amp; Payments has been installed.</value>
-        </function>
+        <!-- notify all employees of module installation -->
+        <record model="mail.message" id="module_install_notification">
+            <field name="model">mail.group</field>
+            <field name="res_id" ref="mail.group_all_employees"/>
+            <field name="type">notification</field>
+            <field name="subject">eInvoicing &amp; Payments application installed!</field>
+            <field name="body">OpenERP's electronic invoicing accelerates the creation of invoices and collection of customer payments. Invoices are created in a few clicks and your customers receive them by email. They can pay online and/or import them in their own system. You can track customer payments easily and automate follow-ups. You get an overview of the discussion with your customers on each invoice for easier traceability. For advanced accounting features, you should install the "Accounting and Finance" module.</field>
 
         <!-- mail: subtypes -->
         <record id="mail.mt_voucher_new" model="mail.message.subtype">