[IMP] append note

bzr revid: fp@tinyerp.com-20120817102650-1sglq1y2dbb3xqju
This commit is contained in:
Fabien Pinckaers 2012-08-17 12:26:50 +02:00
parent b62858e83e
commit 66ece041f0
21 changed files with 29 additions and 28 deletions

View File

@ -26,10 +26,10 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Accounting and Finance has been installed.</value>
<value>With OpenERP's accounting, you can get an instant access to all your financial data, setup your analytic accounting, forecast your taxes, control your budgets, easily create and send invoices, record bank statements, etc.
The accounting features are fully integrated with others OpenERP applications to automate all your processes: creation of customer invoices, control of supplier invoices, point-of-sale integration, automated follow-ups, etc.</value>
<value>Module Accounting and Finance has been installed.</value>
</function>
</data>
</openerp>

View File

@ -5,12 +5,12 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module eInvoicing &amp; Payments has been installed.</value>
<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>
</data>
</openerp>

View File

@ -58,10 +58,10 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module CRM has been installed</value>
<value>From the top menu Sales, you can: trace leads and opportunities, get accurate forecast on your sales pipeline, plan meetings and phonecalls, get realtime statistics and efficiently organize the communication with your prospects.
To manage quotations and sale orders, install the module "Sales Management".</value>
<value>Module CRM has been installed</value>
</function>
<record model="mail.alias" id="default_sales_alias">

View File

@ -17,8 +17,8 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Events Organisation has been installed</value>
<value>From the top menu Events, you can organize events, manage registrations, automate communication around your event and sell events through your quotations.</value>
<value>Module Events Organisation has been installed</value>
</function>
</data>
</openerp>

View File

@ -5,10 +5,10 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Employee Directory has been installed</value>
<value>Manage your human resources in OpenERP: employees and hierarchy, HR departments and jobs.
More HR features are available from the following modules: Recruitment Process (manage job positions and recruitment), Timesheets Validation (record timesheets and attendance), Leaves Management (keep track of employee leaves), Expenses Management (manage employee expenses), Employee Appraisals (organize employee surveys, where employees evaluate their subordinates or their manager.)</value>
<value>Module Employee Directory has been installed</value>
</function>
<record id="employee" model="hr.employee">

View File

@ -17,8 +17,8 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Employee Appraisals has been installed</value>
<value>Create evaluations for your subordinates or manager. You can define a plan with several surveys, where you organize evaluation surveys related to the hierarchy levels. Evaluations filled by employees can exported as pdf files.</value>
<value>Module Employee Appraisals has been installed</value>
</function>
<record id="survey_2" model="survey">

View File

@ -5,10 +5,10 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Expenses Management has been installed</value>
<value>Manage your employee's expenses, with validations by employee manager and accountant, creation and payment of invoices.
This module also uses the analytic accounting and is compatible with the invoice on timesheet module so that you will be able to automatically re-invoice your customer's expenses if your work by project.</value>
<value>Module Expenses Management has been installed</value>
</function>
<!-- Resource: product.uom.categ -->

View File

@ -16,8 +16,8 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Leaves Management has been installed</value>
<value>Manage employee leaves from the top menu "Human Resources". Employees can create leave requests that are validated by their manager and/or HR people. Once validated, they are visible in the employee's calendar. HR people can define leave types and allocate off-days for employees.</value>
<value>Module Leaves Management has been installed</value>
</function>
<!-- Casual leave -->

View File

@ -5,10 +5,10 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Recruitment Process has been installed</value>
<value>Manage job positions and the recruitment process in your company. This module is integrated with the module Survey to help you to define interviews for different jobs.
You can automatically create application records from an email gateway, that you can configure in the Human Resources Settings.</value>
<value>Module Recruitment Process has been installed</value>
</function>
<!-- Meeting Types (for interview meetings) -->

View File

@ -5,8 +5,8 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Timesheets Validation has been installed</value>
<value>From the top menu "Human Resources", encode and validate timesheets and attendances.</value>
<value>Module Timesheets Validation has been installed</value>
</function>
<record id="ir_actions_server_timsheet_sheet" model="ir.actions.server">

View File

@ -16,12 +16,12 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Welcome to OpenERP!</value>
<value>Your homepage is a summary of messages you received and key information about documents you follow.
The top menu bar contains all applications you installed. You can use this &lt;i&gt;Settings&lt;/i&gt; menu to install more applications, activate others features or give access to new users.
To setup your preferences (name, email signature, avatar), click on the top right corner.</value>
<value>Welcome to OpenERP!</value>
</function>
</data>

View File

@ -751,7 +751,7 @@ class mail_thread(osv.Model):
now deprecated res.log.")
self.message_post(cr, uid, [id], message, context=context)
def message_post(self, cr, uid, res_id, body,
def message_post(self, cr, uid, res_id, body, subject=False,
mtype='notification', attachments=None, context=None, **kwargs):
context = context or {}
@ -776,6 +776,7 @@ class mail_thread(osv.Model):
'res_model': self._name,
'res_id': res_id,
'body': body,
'subject': subject,
'type': mtype,
'attachment_ids': data_attach
})

View File

@ -5,10 +5,10 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module MRP has been installed</value>
<value>Manage your manufacturing process in OpenERP by defining bill of materials (BoM), routings and work centers. This module supports complete integration and planification of stockable goods, consumable, and services.
From the Manufacturing Settings, you can choose to compute production schedules periodically or just-in-time.</value>
<value>Module MRP has been installed</value>
</function>
<record id="sequence_mrp_prod_type" model="ir.sequence.type">

View File

@ -27,10 +27,10 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Point of Sale has been installed</value>
<value>Encode sale orders, register payments, compute money to return, create invoices, and manage refunds of former sales through a specific, web-based, touch-screen user interface.
If you install the PoS proxy, you will be able to interface OpenERP with retail materials; barcode scanners, printers, cash registers, weighing machine, credit card payments.</value>
<value>Module Point of Sale has been installed</value>
</function>
<record id="unreferenced_product" model="product.product">

View File

@ -365,7 +365,7 @@ class procurement_order(osv.osv):
message = _('From stock: products assigned.')
self.write(cr, uid, ids, {'state': 'running',
'message': message}, context=context)
self.message_append_note(cr, uid, ids, body=message, context=context)
self.message_post(cr, uid, ids, body=message, context=context)
self.running_send_note(cr, uid, ids, context=context)
return True
@ -398,7 +398,7 @@ class procurement_order(osv.osv):
if message:
message = _("Procurement '%s' is in exception: ") % (procurement.name) + message
cr.execute('update procurement_order set message=%s where id=%s', (message, procurement.id))
self.message_append_note(cr, uid, [procurement.id], body=message, context=context)
self.message_post(cr, uid, [procurement.id], body=message, context=context)
return ok
def action_produce_assign_service(self, cr, uid, ids, context=None):
@ -496,22 +496,22 @@ class procurement_order(osv.osv):
return obj_id
def create_send_note(self, cr, uid, ids, context=None):
self.message_append_note(cr, uid, ids, body=_("Procurement has been <b>created</b>."), context=context)
self.message_post(cr, uid, ids, body=_("Procurement has been <b>created</b>."), context=context)
def confirm_send_note(self, cr, uid, ids, context=None):
self.message_append_note(cr, uid, ids, body=_("Procurement has been <b>confirmed</b>."), context=context)
self.message_post(cr, uid, ids, body=_("Procurement has been <b>confirmed</b>."), context=context)
def running_send_note(self, cr, uid, ids, context=None):
self.message_append_note(cr, uid, ids, body=_("Procurement has been set to <b>running</b>."), context=context)
self.message_post(cr, uid, ids, body=_("Procurement has been set to <b>running</b>."), context=context)
def ready_send_note(self, cr, uid, ids, context=None):
self.message_append_note(cr, uid, ids, body=_("Procurement has been set to <b>ready</b>."), context=context)
self.message_post(cr, uid, ids, body=_("Procurement has been set to <b>ready</b>."), context=context)
def cancel_send_note(self, cr, uid, ids, context=None):
self.message_append_note(cr, uid, ids, body=_("Procurement has been <b>cancelled</b>."), context=context)
self.message_post(cr, uid, ids, body=_("Procurement has been <b>cancelled</b>."), context=context)
def done_send_note(self, cr, uid, ids, context=None):
self.message_append_note(cr, uid, ids, body=_("Procurement has been <b>done</b>."), context=context)
self.message_post(cr, uid, ids, body=_("Procurement has been <b>done</b>."), context=context)
procurement_order()

View File

@ -88,10 +88,10 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Project Management has been installed</value>
<value>Manage multi-level projects and tasks. You can delegate tasks, track the work done on tasks, and review your planning based on the entered data.
You can manage todo lists on tasks by installing the module "Todo Lists", which supports the methodology Getting Things Done (GTD). You can also manage issues/bugs in projects by installing the module "Issues Tracker."</value>
<value>Module Project Management has been installed</value>
</function>
</data>
</openerp>

View File

@ -29,8 +29,8 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Todo Lists has been installed</value>
<value>Add todo items on project tasks, to help you organize your work. This module supports the methodology Getting Things Done (GTD), created by David Allen, and described in the book of the same name.</value>
<value>Module Todo Lists has been installed</value>
</function>
</data>
</openerp>

View File

@ -35,10 +35,10 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Issues Tracker has been installed.</value>
<value>Manage the issues you might face in a project, like bugs in a system, client complaints or material breakdowns. You can record issues, assign them to some responsible person, and keep track of their status as they evolve over time.
You can access issues from the top menu Project, and access the issues of a specific project from the projects gallery view.</value>
<value>Module Issues Tracker has been installed.</value>
</function>
</data>
</openerp>

View File

@ -6,10 +6,10 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Purchase Management has been installed.</value>
<value>From the top menu Purchases, create purchase orders to buy products from your suppliers, encode supplier invoices and manage your payments.
You can also manage purchase requisitions, see the Purchase Settings.</value>
<value>Module Purchase Management has been installed.</value>
</function>
<record id="req_link_purchase_order" model="res.request.link">

View File

@ -44,10 +44,10 @@
<function model="mail.group" name="message_append_note">
<!-- 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>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>
<value>The Sales Management application has been installed.</value>
</function>
</data>
</openerp>

View File

@ -5,8 +5,8 @@
<function model="mail.group" name="message_append_note">
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
<value eval="[ref('mail.group_all_employees')]"/>
<value>Module Warehouse Management has been installed</value>
<value>Manage your product inventoy and stock locations. You can control your stock moves history and planning, perform stock valuation, and trace product lots upstream and downstream (based on serial numbers.)</value>
<value>Module Warehouse Management has been installed</value>
</function>
<record id="stock_journal_sequence" model="ir.sequence">