Commit Graph
75490 Commits
Author SHA1 Message Date
Thibault Delavallée 1f3195c271 [MERGE] [IMP] purchase: misc menu improvements
- Pricelists menu now in Configuration / Pricelists
- Partner Categories menu renamed to Partner Tags

bzr revid: tde@openerp.com-20130917114853-2stgi1xyh6bh8tex
2013-09-17 13:48:53 +02:00
Thibault Delavallée 2a3a631ef4 [MERGE] [ADD] mass mailing module: handle mass mailing campaigns, get statistics of email waves
This module allows to define mass mailing campaigns and to have statistics about mass mailings. Each campaign holds several waves of mass mailing. Tracked statistics are the opening datetime, the reply datetime, the bounce datetime. The statistics are stored onto a mail.mail.statistics model. This allows to delete emails without loosing statistics.

Emails sent using mass mailing use a blank image linked to a controller that allows to track the opening of the email. When a reply goes through the mail gateway, the message_id in the email references is used to find its parent and, if found, update its replied date.

This module adds a new parameter, the bounce alias. If set, the Return-Path of sent emails is set to bounce_alias@alias_domain (i.e. bounce@mydomain.com). Any email coming through the mail gateway using this alias set its parent, if found, as bounced. If the related model has a message_bounce field, this field is incremented. This is for example the case for crm.lead model, allowing to filter and delete leads linked to a wrong address.

Misc :
- mail: test_mail_base is now called common; moved mail.group tests into their own file
- mail: fixed some issues in controllers (forgotten import, controllers not updated to new specifications of oe framework)
- mail, email_template, mail.compose.message: template rendering is now done in batch; now each template is rendered for all res_ids. Refactored email or mail_message value creation in mail.compose.message, to extract value creation from the process of sending emails. This allows to ease the inheritance.
- mail.compose.message: in mass_mailing, default value is to create a pure email mailing, not mass posting on document (aka, post is now False by default)
- mail.message, mail.followers: cleaned posting and notification email process, to lessen the number of queries to execute (read -> browse, refactored some methods)
- mail.message: cleaned form view, removing unnecessary group_by
- mail.message: reply_to and message_id computation in create now have their own methods located in mail_message.py (and not in mail_mail.py anymore for reply_to)
- mail.mail: slightly cleaned form view
- mail.thread: processing of routes in mail gateway is now done in message_route_process, extracted from message_route, to ease inheritance
- base_setup: added field in res_config to install mass_mailing
- crm: added message_bounce field

bzr revid: tde@openerp.com-20130917110214-z8494dfuok1g89lh
2013-09-17 13:02:14 +02:00
Thibault Delavallée ff0eb116ea [MERGE] [IMP] tools: added a regex for bounce email addresses
[IMP] read_group: added possibility to customize the group_by on datetime fields. A special context key can be used for datetime fields : datetime_format.
context[datetime_format] = {
    'field_name': {
        groupby_format: format for to_char (default: yyyy-mm)
        display_format: format for displaying the value in the result (default: MMM yyyy)
        interval: day, month or year; used for begin and end date of group_by
                  intervals computation (default: month)
    }
}

bzr revid: tde@openerp.com-20130917110040-l3b5i0vk8qiwy0cm
2013-09-17 13:00:40 +02:00
Dharmraj Zala (OpenERP Trainee) 1b6bbcfec7 [IMP] avoided use of matplotlib library
bzr revid: dizzy.zala@gmail.com-20130917104325-4b2mijamy0ll3d8b
2013-09-17 16:13:25 +05:30
Dharmraj Zala (OpenERP Trainee) bffaf163cc [IMP] avoided use of matplotlib library
bzr revid: dizzy.zala@gmail.com-20130917103829-c6s5qkwkiy8igj1t
2013-09-17 16:08:29 +05:30
Thibault Delavallée 8ae3b158db [IMP] cleaning before merging :
- added fields on mail.mail.statistics form view to have all data;
- added comments;
- cleaned get_mail_values override now that statistics are created using o2m command

bzr revid: tde@openerp.com-20130917103555-jwhgl8y49g505ugz
2013-09-17 12:35:55 +02:00
Thibault Delavallée 2bc275457a [CLEAN] mail: removed unnecessary change
bzr revid: tde@openerp.com-20130917102046-8khoz9axz5vr6j13
2013-09-17 12:20:46 +02:00
Frédéric van der Essen c33fd59465 [MERGE] from upstream
bzr revid: fva@openerp.com-20130917101910-4h2g2njs2e9toc36
2013-09-17 12:19:10 +02:00
Frédéric van der Essen 65c70b85a7 [IMP + FIX] point_of_sale: plugged the memory leaks
- correctly call destroy on widgets
 - unbind backbone events on destroy
 - jquery show() hide() flooded jQuery.cache
 - introduced automated ui tests

bzr revid: fva@openerp.com-20130917101420-g76gos2qjjaii3zf
2013-09-17 12:14:20 +02:00
Thibault Delavallée 54c014c4ea [IMP] read_group: group_by -> groupby (same variable, but was used in previous implementation, so I keep it)
bzr revid: tde@openerp.com-20130917100447-u0qhdsw14wdngxwc
2013-09-17 12:04:47 +02:00
Thibault Delavallée 643996de2b [FIX] mass_mailing: fixed bouncing tracking
mail_mail now have a statistics_ids field, allowing to create statistics when creating a mail.mail.
This is done in the mail composer, using classic o2m command. Mail_mail create is overrided to ipdate
the statistics value (message_id) that is computed directly in the create and not accessible
in the values dict.
Added model and res_id on stat model, to allow message_bounce update, without havign to rely
on the mail.mail existence.

bzr revid: tde@openerp.com-20130917094218-7jz5mnldogzhlioh
2013-09-17 11:42:18 +02:00
Martin Trigaux c0be2ae2a7 [MERGE] [FIX] base_calendar: Fix domain evaluation for calendar recursive and fix search method for recurrency date
bzr revid: mat@openerp.com-20130917093906-3oe3xr7zaoc1r80m
2013-09-17 11:39:06 +02:00
Thibault Delavallée a2d167bd0a [MERGE] Sybc with trunk
bzr revid: tde@openerp.com-20130917085022-a0u60kug7siqzksa
2013-09-17 10:50:22 +02:00
Thibault Delavallée fb4ab9dd0c [IMP] mass mailing: improvements :
- improved mass mailing wizard creation (everything is showed, better alignment, filter_id required, added default document on Partner)
- campaign: o2m is now readonly in form view, added an empty list help

bzr revid: tde@openerp.com-20130917085003-yof5gfy68y56ougf
2013-09-17 10:50:03 +02:00
Martin Trigaux edf34053ad [FIX] stock: use user's language as default value to fetch product translation
bzr revid: mat@openerp.com-20130917074045-4o5t46t7fucqr354
2013-09-17 09:40:45 +02:00
Martin Trigaux f699c0cb6e [FIX] stock: decimal precision of new_price field on update cost price wizard is not same as defined in cost_price field
bzr revid: mat@openerp.com-20130917073805-dg4yvxrjkv35k7p1
2013-09-17 09:38:05 +02:00
Dharmraj Zala (OpenERP Trainee) c49e884679 [IMP] miscellaneous improvements
bzr revid: dizzy.zala@gmail.com-20130917055450-1mbdt8u0up6ucw0h
2013-09-17 11:24:50 +05:30
Dharmraj Zala (OpenERP Trainee) b1647e2d32 [IMP] miscellaneous improvements
bzr revid: dizzy.zala@gmail.com-20130917055129-zvh1tbhghy1vr9oc
2013-09-17 11:21:29 +05:30
Launchpad Translations on behalf of openerp a46cbb7a31 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130913060803-zltruvkg213vqm57
bzr revid: launchpad_translations_on_behalf_of_openerp-20130915061052-1kts2jol7uvq1n4f
bzr revid: launchpad_translations_on_behalf_of_openerp-20130917051850-e1s8v09muo1atjwh
bzr revid: launchpad_translations_on_behalf_of_openerp-20130917051903-257acdjbxi60zyv8
2013-09-17 05:19:03 +00:00
Launchpad Translations on behalf of openerp bc0d066505 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130914054213-dq0kt273ooy6fozn
bzr revid: launchpad_translations_on_behalf_of_openerp-20130915055539-hzmy1ws1il6z8fji
bzr revid: launchpad_translations_on_behalf_of_openerp-20130915054954-zisp7huxai3ew84l
bzr revid: launchpad_translations_on_behalf_of_openerp-20130916054225-m0j262vooofcavqz
bzr revid: launchpad_translations_on_behalf_of_openerp-20130917043759-tke0eln0ca01hsm7
2013-09-17 04:37:59 +00:00
Atul Patel (OpenERP) fae3b84d56 [MERGE]: Merged with addons
bzr revid: atp@tinyerp.com-20130916152505-x47ny72x23ahvj85
2013-09-16 20:55:05 +05:30
Atul Patel (OpenERP) 58fcaa9d40 [MERGE]: Merged with server
bzr revid: atp@tinyerp.com-20130916152046-vc454ytxm3gkq5sj
2013-09-16 20:50:46 +05:30
Martin Trigaux 7bdd9a6ad3 [FIX] hr_timesheet_sheet: use timezone in hour computation for timesheet
bzr revid: mat@openerp.com-20130916143300-sa3zpm505ac6r145
2013-09-16 16:33:00 +02:00
Turkesh Patel (Open ERP) 3cdc986c0c [IMP] improved code to pass tooltip delay in option and added function so we can set requred help in inherited modules.
bzr revid: tpa@tinyerp.com-20130916130825-pciwsn0doshstrp2
2013-09-16 18:38:25 +05:30
Turkesh Patel (Open ERP) da358b54ab [IMP] improved code to show bar required help and with delay
bzr revid: tpa@tinyerp.com-20130916130700-e9ipoezcjeyva3mb
2013-09-16 18:37:00 +05:30
Martin Trigaux 461b5d8191 [MERGE] [FIX] mrp_subproduct: correctly take into account subproduct_factor when checking quantities on BoM
bzr revid: mat@openerp.com-20130916123442-cch34mghmwh1p18e
2013-09-16 14:34:42 +02:00
Thibault Delavallée 03ff00b63c [DOC] mail: updated changelog of mail to match the new implementation
bzr revid: tde@openerp.com-20130916115055-k08sdeiomriskbx9
2013-09-16 13:50:55 +02:00
Thibault Delavallée 63988959a7 [IMP] read_group: added forgottent year computation
bzr revid: tde@openerp.com-20130916114722-4742fhn4ilhf133e
2013-09-16 13:47:22 +02:00
Thibault Delavallée 1d76129a22 [FIX] mass_mailing:
- fixed forgottent import of mail_thread in mass_mailing, to enable bounce and replied tracking
- fixed replied computation in message_route_process, adding the original email in parameters
- fixed form view of campaign, to add edit and dlete now that clicking on it redirects to the waves
- added track field on mail_mail, to avoid creating too mush entries in mail.mail.statistics
- fixed mass_mailign controller

bzr revid: tde@openerp.com-20130916114706-b9zyhp0ha6mr9fzg
2013-09-16 13:47:06 +02:00
Martin Trigaux 3029fc869e [MERGE] [FIX] mrp: producing a BoM of type service is no longer blocked in ready state, correctly transmit project reference when create task from sale order
bzr revid: mat@openerp.com-20130916113323-8an09x0d7svv2j7d
2013-09-16 13:33:23 +02:00
Thibault Delavallée defa3adbe8 [DOC] read_group: added comments for the new formatting option
bzr revid: tde@openerp.com-20130916103047-lpbf7czflyvgtonu
2013-09-16 12:30:47 +02:00
Thibault Delavallée 20f9f42ea9 [IMP] mass_mailing: improved kanban view of campaign (clicking now reidrects to mass mailings, filtered by the campaign); added search views for the various models; re-ordered view file; put demo data into demo section; added JS file for click redirection
bzr revid: tde@openerp.com-20130916101035-qre7362jyxwl4xve
2013-09-16 12:10:35 +02:00
Martin Trigaux 503f69cba3 [IMP] project_mrp: cleaning and add condition for triggering signal
bzr revid: mat@openerp.com-20130916100120-kuuyofh3o8e3iv8c
2013-09-16 12:01:20 +02:00
Martin Trigaux 7485ec46d7 [IMP] mrp: trigger workflow only if no move lines
bzr revid: mat@openerp.com-20130916094604-zonoyxeic948mjn2
2013-09-16 11:46:04 +02:00
Thibault Delavallée d23f15e1b2 [MERGE] Sunc with trunk
bzr revid: tde@openerp.com-20130916092213-iuzc7lu5q0rc3hjm
2013-09-16 11:22:13 +02:00
Thibault Delavallée 8583ced4cc [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130910151742-rgmc2jwx6zyg38lp
bzr revid: tde@openerp.com-20130912073916-1ph4x7cw6oovdafl
bzr revid: tde@openerp.com-20130916092207-5rqco7ua9tbd1cvh
2013-09-16 11:22:07 +02:00
Turkesh Patel (Open ERP) 5a2ac400d7 [MRG] merge with lp:openerp-wb
bzr revid: tpa@tinyerp.com-20130821054708-yix30ye1ykrfc0rr
bzr revid: tpa@tinyerp.com-20130904061932-vj86pxqb44j8h7jx
bzr revid: tpa@tinyerp.com-20130916070708-rkiwmpv315bl387r
2013-09-16 12:37:08 +05:30
Turkesh Patel (Open ERP) a2b6b5df02 [MRG] merge with lp:openobejct-addons contains changes on justguage and sparklinebar library.
bzr revid: tpa@tinyerp.com-20130916070618-l59jaz9tbrmv5y6r
2013-09-16 12:36:18 +05:30
Launchpad Translations on behalf of openerp 07f41591af Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130914055308-488d7jp6pk12s4oq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130915061118-idedxdulpa7nb0s0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130916061418-3r990vgrtgj1quyt
2013-09-16 06:14:18 +00:00
Carlos Vásquez 63159fee7b [FIX] document: check method fails if it is called with an id instead of a list of ids
lp bug: https://launchpad.net/bugs/1225107 fixed

bzr revid: carlos.vasquez@clearcorp.co.cr-20130913173912-h4oec41fwh9pg69f
2013-09-13 11:39:12 -06:00
Thibault Delavallée 426abbc65e [IMP] mass_mailing: improved various views of new objects
bzr revid: tde@openerp.com-20130913140043-wfrk7yv3qx20e5on
2013-09-13 16:00:43 +02:00
Thibault Delavallée de43093621 [IMP] mass_mailing: removed duplicate view; added views for mail.mail;statistics
bzr revid: tde@openerp.com-20130913133841-gk6axalbo1dyayhe
2013-09-13 15:38:41 +02:00
Paramjit Singh Sahota ba1ee5bc87 [IMP]Improved code for multiple bom.
bzr revid: psa@tinyerp.com-20130913133008-z1k76sq6jkvu8e6i
2013-09-13 19:00:08 +05:30
Dharmraj Zala (OpenERP Trainee) b1e66aa382 [IMP] miscellaneous improvements
bzr revid: dizzy.zala@gmail.com-20130913132707-gxjtq6mcrz9btgty
2013-09-13 18:57:07 +05:30
Thibault Delavallée 71d2a97a50 [IMP] mail.compose.message: simplified mass mailing use in composer
Only remaining field is mass_mailing_campaign_id; if set, a new segment is automatically created
and its id is given to the created mail.mail.statistics using default value in context

bzr revid: tde@openerp.com-20130913132234-66vl19w54znky2rc
2013-09-13 15:22:34 +02:00
Thibault Delavallée 7b75c481d6 [IMP] base_setup: added option in sales to install mass mailing
bzr revid: tde@openerp.com-20130913132150-kq5bsantglfogizs
2013-09-13 15:21:50 +02:00
Dharmraj Zala (OpenERP Trainee) d9e3561bb0 [IMP] returned sorted list of all system fonts
bzr revid: dizzy.zala@gmail.com-20130913131416-305018dgxbtieuhm
2013-09-13 18:44:16 +05:30
Paramjit Singh Sahota f008277c8b [MERGE] Merged lp:openobject-addon/7.0
bzr revid: psa@tinyerp.com-20130913091747-elttufebavyzk79s
bzr revid: psa@tinyerp.com-20130913131140-my74y02s9ojgmfmu
2013-09-13 18:41:40 +05:30
Frédéric van der Essen 0554984deb [FIX] sale.shop: The pricelist should be a required field
bzr revid: fva@openerp.com-20130913125748-x5wa2zsyc7rijim2
2013-09-13 14:57:48 +02:00
niv-openerp 6d411f7065 [FIX] really solve reload problem
lp bug: https://launchpad.net/bugs/1214814 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130913124026-yhchgik5yznkme19
2013-09-13 14:40:26 +02:00