Commit Graph
75533 Commits
Author SHA1 Message Date
Josse Colpaert 24fcebccda [FIX] Add prints for dropship yml
bzr revid: jco@openerp.com-20130917115046-9nqec13m81e49ikr
2013-09-17 13:50:46 +02:00
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
Quentin (OpenERP) 3ac9b8933b [FIX] purchase: fixed syntax error
bzr revid: qdp-launchpad@openerp.com-20130917114853-h1kmo5bot8u75k9x
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
Quentin (OpenERP) cf8bdb5c6c [FIX] partner: used a new product for negative test in fifo_price.yml, to make logs clearer in runbot
bzr revid: qdp-launchpad@openerp.com-20130917102932-139z2c8nq4ll6etk
2013-09-17 12:29:32 +02:00
Quentin (OpenERP) 0da720340c [FIX] stock_complex_routes: used a new partner as supplier in dropship.yml, to test if it still crashes in runbot
bzr revid: qdp-launchpad@openerp.com-20130917102832-n9pr3bfdf0z7jdpe
2013-09-17 12:28:32 +02:00
Josse Colpaert e3c5b48264 [FIX] Prints dropship
bzr revid: jco@openerp.com-20130917102301-hqjwoq92w1km8mod
2013-09-17 12:23:01 +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
Josse Colpaert 7e4ae4c2c1 [FIX] Add print in fifo_price
bzr revid: jco@openerp.com-20130917092854-qhws12yu05potal5
2013-09-17 11:28:54 +02:00
Josse Colpaert 660cbcb645 [FIX] Prints for drop ship on runbot
bzr revid: jco@openerp.com-20130917090729-1v54wj63cyg2ox7k
2013-09-17 11:07:29 +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
Josse Colpaert 664b94b321 [FIX] Make sure dropship takes correct purchase order
bzr revid: jco@openerp.com-20130917081415-u1cxzjkka9vf635s
2013-09-17 10:14:15 +02:00
Quentin (OpenERP) 3465286e94 [FIX] warning: onchange_product_id() signature
bzr revid: qdp-launchpad@openerp.com-20130917080515-6eq94p63eisw7klk
2013-09-17 10:05:15 +02:00
Quentin (OpenERP) 463bf405ad [TEST] purchase: attempt to find out why fifo_price.yml is breaking on runbot
bzr revid: qdp-launchpad@openerp.com-20130917074132-16832rf48d00g8r5
2013-09-17 09:41:32 +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
Quentin (OpenERP) 2ad5cd9955 [FIX] warning: signature of onchange_product_id() of purchase.order.line
bzr revid: qdp-launchpad@openerp.com-20130917071248-iq8igi4zxz7zwa4x
2013-09-17 09:12:48 +02:00
Quentin (OpenERP) e12c9ab5ec [FIX] sale, project_mrp, sale_stock: fixed problems related to the procurement workflow
bzr revid: qdp-launchpad@openerp.com-20130917064359-jwque36uwouac61p
2013-09-17 08:43:59 +02:00
Quentin (OpenERP) 4e25eccad5 [REV] revert of revision 9215: we don't want to trigger directly the procurement becaus e doing so means we are always in 'make_to_order' mode, and we want it by default (that's why mrp_jit is installed by default) by not mandatory.
bzr revid: qdp-launchpad@openerp.com-20130917064027-i97zvgmw0ns3t5ll
2013-09-17 08:40:27 +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
Josse Colpaert f3a781a928 [FIX] further print tests dropship yml
bzr revid: jco@openerp.com-20130916155448-hycviam8uf3obkx1
2013-09-16 17:54:48 +02:00
Josse Colpaert 2ee43d4b68 [FIX] Add prints for fifo_price
bzr revid: jco@openerp.com-20130916154240-drmsogo7bts7r6g3
2013-09-16 17:42:40 +02:00
Josse Colpaert 8c4789c2c2 [FIX] Prints in dropship.yml to see what happens in runbot
bzr revid: jco@openerp.com-20130916152745-ioupgqib6ueetxlu
2013-09-16 17:27:45 +02: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
Josse Colpaert d3344c6667 [ADD] Add group on route on sales order line (took from sgo branch)
bzr revid: jco@openerp.com-20130916150908-c1yi104t3fbo8q37
2013-09-16 17:09:08 +02:00
Cedric Snauwaert acd22690a5 [FIX]stock: fix picking kanban view to show correct view when clicking button and have correct percentage of late/backorders picking
bzr revid: csn@openerp.com-20130916143849-lw3as1rayo74v30s
2013-09-16 16:38:49 +02:00
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
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
Josse Colpaert 1d6a27df2c [IMP] Correct lifo_price.yml, e.g. make sure removal strategies are applied correctly
bzr revid: jco@openerp.com-20130916120343-vf75ez0egxdvxnzv
2013-09-16 14:03:43 +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
Josse Colpaert 089cb7c856 [IMP] proc_ids search domain was wrong in yml
bzr revid: jco@openerp.com-20130916100724-92vgj02c3axdg1zw
2013-09-16 12:07:24 +02:00