Commit Graph

267 Commits

Author SHA1 Message Date
Olivier Dony 04211015fc [MERGE] Forward-port of latest saas-4 fixes, up to 0452851 2014-05-27 20:49:49 +02:00
Thibault Delavallée c93d169fde [FIX] mail: fixed get_default_recipient, trying to call a method even if the target model do not have it; also fixed default recipients generation on the contact model; sending a mass mailing when not having recipient now raise a warning. 2014-05-27 13:33:10 +02:00
Géry Debongnie 62900fe01b Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged
Conflicts:
	addons/crm/crm_case_section_view.xml
2014-05-26 10:06:31 +02:00
Géry Debongnie 555677f14d [IMP] replace all 'Group By...' by 'Group By'
in all searchview, the 'Group By...' looks weird, next to the Custom
Reports and Filters.  This change was requested by the upper management
2014-05-22 11:44:35 +02:00
Christophe Simonis a756b82372 [MERGE] forward port of branch saas-4 up to revid bb26dea 2014-05-20 20:19:55 +02:00
Xavier Morel f4d78ae738 Merge branch 'server-trunk'
Conflicts:
	addons/mass_mailing/controllers/main.py
2014-05-14 15:13:04 +02:00
Thibault Delavallée e863668bc3 [IMP] email_template simplified form view: add link to website 2014-05-13 10:35:09 +02:00
Olivier Dony 4cecbd919f [FIX] mass_mailing,website*,survey: leftover calls to website.get_public_user()
This method was (partially) removed at rev.9421 
rev-id al@openerp.com-20140507153223-q73u5lhyrfw98o3a

bzr revid: odo@openerp.com-20140512103935-o0ue9wzenm5wjejq
2014-05-12 12:39:35 +02:00
Martin Trigaux 555d4879c8 Forward-port of latest saas-4, up to revision 9416 (rev-id fme@openerp.com-20140509164338-gnz7p3qxt8etrh5w)
bzr revid: mat@openerp.com-20140512072331-0lidgqb6x7fregdj
2014-05-12 09:23:31 +02:00
Thibault Delavallée 6f60eb218f [IMP] subscribe to group / newsletter widgets: wording cleaning
bzr revid: tde@openerp.com-20140509132156-qbmop9au07cllgkk
2014-05-09 15:21:56 +02:00
Thibault Delavallée 4c4d610336 [IMP] mass_mailing: added newsletter as mailing list data + imported contact still demo data
bzr revid: tde@openerp.com-20140509125358-2kjc462ttrnxmpxm
2014-05-09 14:53:58 +02:00
Thibault Delavallée 59b9344bab [IMP] website_mail, mass_mailing: icon in editor for the snippets + renaming
bzr revid: tde@openerp.com-20140507090029-fh312buk013t1gdp
2014-05-07 11:00:29 +02:00
Thibault Delavallée 6c8db2ce68 [ADD] mass_mailing: add a snippet to allow subscribing to a contact list (newsletter)
bzr revid: tde@openerp.com-20140506145145-qvncr41sdmplc0bp
2014-05-06 16:51:45 +02:00
Gery Debongnie 5aa2fa150c [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140502130753-4z24z1to9pkrckvq
2014-05-02 15:07:53 +02:00
Antony Lesuisse 7e25b9ae55 [MERGE] saas-4 report_webkit missing dependency on report
bzr revid: al@openerp.com-20140501152604-4cobh5ui47dt4pem
bzr revid: al@openerp.com-20140501155633-gefnc3zqcsr2rhaz
bzr revid: al@openerp.com-20140501161156-4wbsvhh8gz4r22h3
2014-05-01 18:11:56 +02:00
Christophe Simonis f38387820d [TYPO] mass_mailing: rename wrongly named function field (dayly -> daily).
[FIX] mass_mailing: add `oldname` attribute to some renamed fields.
[FIX] mass_mailing: replace int field with many2one field to enforce fkey

bzr revid: chs@openerp.com-20140429165430-6w4xplwr4c5ymi1j
2014-04-29 18:54:30 +02:00
Fabien Meghazi 1c4e2cfd22 [IMP] bundlify addons (except website)
bzr revid: fme@openerp.com-20140424172129-ze74eaz2eaidmxhm
2014-04-24 19:21:29 +02:00
Olivier Dony 96b9d8b9d5 [FIX] mass_mailing: avoid using werkzeug API only present in 0.9+
bzr revid: odo@openerp.com-20140424131451-rhtokro13piol7ji
2014-04-24 15:14:51 +02:00
Thibault Delavallée a32ccdbbd1 [FIX] mass_mailing: fixed test mailing wizard, still using unsubscribe url that is
now delegated on the mail_mail model.

bzr revid: tde@openerp.com-20140417122633-bej72c8yhv2y2y4z
2014-04-17 14:26:33 +02:00
Gery Debongnie ffc7bccef9 [IMP] removes an useless button_box in addon mass mailing to allow the stat button contained inside to be aligned properly (addon mass mailing)
bzr revid: ged@openerp.com-20140417094543-03q0sxu0jqpdva0k
2014-04-17 11:45:43 +02:00
Thibault Delavallée d264cd1640 [IMP] website_mail: make the template / mail editor work. We now have a limited
set of fields that we try to edit (body_html and body for body, email_from and email for
email-from, name and subject for subject), because t-field is not dynamic. If the model
that should be edited does not hold those fields, the mail editor won't work.

Also fixed editor not being actiated when going into the body edition.

bzr revid: tde@openerp.com-20140416105901-vavkh9erjsq4mof9
2014-04-16 12:59:01 +02:00
Thibault Delavallée fe8a745b02 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140416082925-eph1x8vnwj6o31rt
2014-04-16 10:29:25 +02:00
Thibault Delavallée 4336c64a7c [IMP] mail, mass_mailing: using a _mail_mass_mailing class attribute
it is now possible to compute models allowing mass mailing using mass_mailing_campaign
module. This allows to completely remove the bridges modules, using a more generic
controller for unsubscription.

bzr revid: tde@openerp.com-20140416082851-8duo6yrwr5hwd8c2
2014-04-16 10:28:51 +02:00
Thibault Delavallée c5627c4d3f [FIX] mass_mailing: fixed issue when generating unsubscirbe urlé
bzr revid: tde@openerp.com-20140415160743-5i0pjieo4o031ico
2014-04-15 18:07:43 +02:00
Thibault Delavallée f7d7e34467 [REM] mass_mailing: removed now dead code
bzr revid: tde@openerp.com-20140415154754-60uvhxt8ho78pdqd
2014-04-15 17:47:54 +02:00
Thibault Delavallée 3eaeae55a0 [IMP] mail, mass_mailing: better recipientsz computation
for mass mailing, composer and template. This allows to have one method computing recipints
and avoid repetiting myself.

bzr revid: tde@openerp.com-20140415154700-zu2izvxfjq1k4h4a
2014-04-15 17:47:00 +02:00
Thibault Delavallée 7ffffe6889 [FIX] mass_mailing: fixed demo data
bzr revid: tde@openerp.com-20140415135846-ql9883kwc3skqelo
2014-04-15 15:58:46 +02:00
Thibault Delavallée 19a2f350fa [IMP] mass_mailing: cleaned demo data
bzr revid: tde@openerp.com-20140415135157-blrw8vcv66nzs6wa
2014-04-15 15:51:57 +02:00
Thibault Delavallée da7cb60cfc [MOVE] Moved mass mailing chardomain widget to web.
bzr revid: tde@openerp.com-20140415133933-1uqlj3yujdwozz2m
2014-04-15 15:39:33 +02:00
Thibault Delavallée 4808ca3796 [FIX] mass_mailing: various fixed in chardomain widget
bzr revid: tde@openerp.com-20140415125222-uzvzgzo5gx6hmgor
2014-04-15 14:52:22 +02:00
Thibault Delavallée ea2e59f86b [FIX] mass_mailing: fixed email sending
bzr revid: tde@openerp.com-20140415113944-hjwjc2lh4ydzugr1
2014-04-15 13:39:44 +02:00
Thibault Delavallée 4aa717b695 [FIX] mass_mailing: form view: usability imp
bzr revid: tde@openerp.com-20140415113934-xu033xxibolvl62w
2014-04-15 13:39:34 +02:00
Thibault Delavallée 7e1e475d89 [IMP] mass_mailing :handle attachments for mailings
bzr revid: tde@openerp.com-20140415110439-j72v9cnz3nml7g04
2014-04-15 13:04:39 +02:00
Thibault Delavallée 922e8b610f [IMP] mass_mailing :improved demo data
bzr revid: tde@openerp.com-20140415104337-gokvkpvx36wch132
2014-04-15 12:43:37 +02:00
Thibault Delavallée d538a02c0e [FIX] mass_mailing: fixed graph buttons in form view + fixed stat computation
bzr revid: tde@openerp.com-20140415104328-yll2kgxtjmg6f3hc
2014-04-15 12:43:28 +02:00
Thibault Delavallée 1e643d4ce5 [FIX] mass_mailing: fixed demo data: reply_to specified + remove create_date, not allowed
bzr revid: tde@openerp.com-20140415102818-zcm9vfc7zalg29f4
2014-04-15 12:28:18 +02:00
Thibault Delavallée 90d9b497b3 [FIX] mass_mailing: various fixes in campaign view and basic management
bzr revid: tde@openerp.com-20140415101342-7vvadykp1udz6hgs
2014-04-15 12:13:42 +02:00
Thibault Delavallée 35d51fe71f [REM] mass_mailing: removed report, a graph view on statistics will be sufficient
bzr revid: tde@openerp.com-20140415095817-rx7bokd6qc5rkrhq
2014-04-15 11:58:17 +02:00
Thibault Delavallée 6179d9b6a2 [IMP] mass_mailing: finishing refactoring for the new func flow.
- cleaned reply-to management, now displaying an alert but simplifying the underlying
model about options available / not available for certain documents;
- cleaned a bit the form view;
- date -> create_date, and added a sent_date to distinguish the two;
- removed dead code;
- first draft of improving the chardomain widget

bzr revid: tde@openerp.com-20140415092503-q1hku1rh12ldy9i1
2014-04-15 11:25:03 +02:00
Thibault Delavallée 48d7a6fa6c [CLEAN] mass_mailing: rmeoved dead stuff
bzr revid: tde@openerp.com-20140414144011-awu4g35etq9s4gje
2014-04-14 16:40:11 +02:00
Thibault Delavallée 55266ab25d [MERGE] Merged fp's refactoring branch.
bzr revid: tde@openerp.com-20140414131109-7ijlz4gybjd2b2oj
2014-04-14 15:11:09 +02:00
Denis Ledoux a0b26b6cfe [FIX] mass_mailing: mail_thread model redefined as a osv.Model, while the original mail thread is an AbstractModel. Mass mailing mail thread must be an Abstract Model as well
bzr revid: dle@openerp.com-20140414090825-o456mdd9q38m47mw
2014-04-14 11:08:25 +02:00
Fabien Pinckaers 34e618965a [IMP] commment
bzr revid: fp@tinyerp.com-20140414081035-9ixrag5oly2q0emb
2014-04-14 10:10:35 +02:00
Fabien Pinckaers 8d42202c92 [FIX] show stages only if campaign is set
bzr revid: fp@tinyerp.com-20140413205337-kkr9xtk6x5bzvzo5
2014-04-13 22:53:37 +02:00
Fabien Pinckaers 57078f5c12 [IMP] features
bzr revid: fp@tinyerp.com-20140413203634-75mf4z8o3xh7i83h
2014-04-13 22:36:34 +02:00
Fabien Pinckaers 96a750fd03 [IMP] Removing featuer
bzr revid: fp@tinyerp.com-20140413203309-digp60hsobgv3i57
2014-04-13 22:33:09 +02:00
Fabien Pinckaers 2ad0b6e369 [IMP] removing unused code
bzr revid: fp@tinyerp.com-20140413202922-glv198j62sqeugz2
2014-04-13 22:29:22 +02:00
Fabien Pinckaers b1ccd56368 [IMP] better usability
bzr revid: fp@tinyerp.com-20140413201748-u8e26ef40dt7360i
2014-04-13 22:17:48 +02:00
Fabien Pinckaers f908137d76 [IMP] Template Editor
bzr revid: fp@tinyerp.com-20140413162028-9tqqzis7qbggcrp4
2014-04-13 18:20:28 +02:00
Fabien Pinckaers cb544e61c4 [IMP] default recipients to mailing list
bzr revid: fp@tinyerp.com-20140413070922-jw7f5s9wrt9g2gek
2014-04-13 09:09:22 +02:00
Fabien Pinckaers 84fe98085b [IMP] Adding stats file
bzr revid: fp@tinyerp.com-20140412233019-au2omxtet5sfqcxr
2014-04-13 01:30:19 +02:00
Fabien Pinckaers 227b9a917d [IMP] Adding stats file
bzr revid: fp@tinyerp.com-20140412232548-csyb7j13fyu4cwnw
2014-04-13 01:25:48 +02:00
Fabien Pinckaers e9cf53934b [iMP] small improvements
bzr revid: fp@tinyerp.com-20140412232159-1y35hdpaahy633tb
2014-04-13 01:21:59 +02:00
Fabien Pinckaers 3df4eb0f72 [WIP] Mailing Lists and Contacts cleaned
bzr revid: fp@tinyerp.com-20140412203129-5l7w4qr8rf2d1nqo
2014-04-12 22:31:29 +02:00
Fabien Pinckaers 2feab20dbb [WIP] started to reduce code
bzr revid: fp@tinyerp.com-20140412153339-rr3b1r4cmdeigp0v
2014-04-12 17:33:39 +02:00
Fabien Pinckaers 915ac89024 [merge]
bzr revid: fp@tinyerp.com-20140412130132-6dncdvhrxsciyr7l
2014-04-12 15:01:32 +02:00
Thibault Delavallée fee0d0100d [FIX] read_group: someone added a field, thought it was fun to destroy
the method call.

bzr revid: tde@openerp.com-20140411124732-e22dzjmav0tuhag5
2014-04-11 14:47:32 +02:00
Thibault Delavallée 8178669795 [FIX] mail, mass_mailing
- mail: now trigger postprocess_sent_message in every case, being sent or not, as the state
is propagated in the method; udpated all addons accordingly;
- email_template: fixed URL to edit it in website + form view;
- mass_mailing: barchart now send jsonified value;
- mass_mailing: tweaking the form view with all options

bzr revid: tde@openerp.com-20140408124053-o9tb14k6v47s5mjd
2014-04-08 14:40:53 +02:00
Thibault Delavallée cbfc26fe77 [FIX] mass_mailing: depends on website_mail, not only website
bzr revid: tde@openerp.com-20140408114101-hi6w0c02vxds6n4q
2014-04-08 13:41:01 +02:00
Thibault Delavallée 7c3807b61e [REM] mass_mailing: removed create_template wizard, not used anymore
bzr revid: tde@openerp.com-20140408113316-sqwjz3al6xk5kohf
2014-04-08 13:33:16 +02:00
Thibault Delavallée 58e53d2e31 [IMP] mass_mailing: form view improvements using stat button + failed tracking
on statistics. This comes with a web branch to fixes the statbuttons.

bzr revid: tde@openerp.com-20140408113029-ezjlbzbn3j26f43w
2014-04-08 13:30:29 +02:00
Thibault Delavallée 271e805cb8 [IMP] mass_mailing: new refactoring of the way the body is managed
- now body_html is a right field on mass_mailing, editable using the website
- email_designer controller / template now works on everything that has a body
receiving its model and res_id as post parameters; it does not work only on
email tempaltes anymore
- cleaning of the mass mailing form view: reply_to managment option (either
replied go into the document, either there is a specified reply_to; it is implemented
using boolean fields instead of a selection because all options are not available
for all models ... models like contact or partner do not have a chatter or
shoudl be be used for a chatter-like use)
- send to all now instantiates a mail.compose.message; the mass mailign processing
is delegated to the wizard itself.

bzr revid: tde@openerp.com-20140407170346-hpklabi513xskd07
2014-04-07 19:03:46 +02:00
Thibault Delavallée ea1182a691 [IMP] mass_mailing: added views + config menu in marketign + menu to
configure stages.

bzr revid: tde@openerp.com-20140404154326-ticujj6f7djg2o4a
2014-04-04 17:43:26 +02:00
Thibault Delavallée f84a23ed5c [IMP] mass_mailing: campaigns: some refactoring !
- state is now stage_id, many2one towaqrds a newly added stage model, allowing to
tune your process of mailign campaigns. Todo: menu to configure stages + access rights.
- cleaned campaign kanban view, to be smaller.
- added statbuttons in form view of campaigns

bzr revid: tde@openerp.com-20140404153432-b171x0frbfepyfkn
2014-04-04 17:34:32 +02:00
Thibault Delavallée 85283237ad [IMP] mass_mailing: still working / refactorign the form view of mailing
to ease the use (mmmh).

Mainly :
- added website as a dependance to have the rich editor (well ...)
- form view refactoring
- some fileds will be added / removed to ease the mailign definition

bzr revid: tde@openerp.com-20140404150350-x00wxgzp4c71zmzv
2014-04-04 17:03:50 +02:00
Thibault Delavallée 08044cd2a2 [FIX] mass_mailing: stat button should redirect to the report view, not to a create menu wizard
bzr revid: tde@openerp.com-20140403153014-v0w4z280e2gxrh7u
2014-04-03 17:30:14 +02:00
Thibault Delavallée 28fe375aac [ADD] mass_mailing: new wizard to better handle list creatoin
and better managemetn from the mass mailing form view (still WIP).

Also integrated basic statbutton, but they have to be improved.

bzr revid: tde@openerp.com-20140403152329-u81p60c7f8rgypaz
2014-04-03 17:23:29 +02:00
Thibault Delavallée 03071cacf0 [ADD] mass_mailing: added files cited in the previous commit ^^
bzr revid: tde@openerp.com-20140403131644-2gdpg52gkxm9tf54
2014-04-03 15:16:44 +02:00
Thibault Delavallée b6eeedea7d [IMP] mass_mailing: testing the mailing is now done using a wizard, to avoid
bloating the mailing ofrm view

bzr revid: tde@openerp.com-20140403125905-sq6ksthkahna29ud
2014-04-03 14:59:05 +02:00
Thibault Delavallée ee9967443f [IMP] mass_mailing: misc improvement sin mass mailing and campaign form / kanban views
about statistics. Will be improved when statbutton are available.

bzr revid: tde@openerp.com-20140401135352-zqfm8tgo1jx6z5zc
2014-04-01 15:53:52 +02:00
Thibault Delavallée d5bc161438 [IMP] mass_mailing: now allowing to mail only a part of
the mailing lists, to perform AB testing. Also allows to avoid mailing contacts
more than once in a given campaign.

bzr revid: tde@openerp.com-20140401132454-g65utzd1zd8crpq9
2014-04-01 15:24:54 +02:00
Thibault Delavallée d363a5adba [IMP] mass_mailing: mailing list: better managemetn of contacts
- choose contacts without mailing list
- at creation, dynamically set the contacts to the mailing list then update
the list domain

bzr revid: tde@openerp.com-20140331110756-mhraczkk1i8tr62p
2014-03-31 13:07:56 +02:00
Thibault Delavallée e0134a2bfa [IMP] mass_mailing: create wizard: do not inherit from
mailing list anymore, just have the necessary fields to simplify

bzr revid: tde@openerp.com-20140331110626-iewarhctoyoaucsg
2014-03-31 13:06:26 +02:00
Thibault Delavallée 083f643618 [IMP] mass_mailing: improved statistics + form view + some code cleaning in stat model
bzr revid: tde@openerp.com-20140328135907-nfa9h1zrs4w8la6f
2014-03-28 14:59:07 +01:00
Thibault Delavallée 2967919465 [IMP] mass_mailing: report: copy and paste typos
bzr revid: tde@openerp.com-20140328135840-w1yfmzp9y6p9dh1r
2014-03-28 14:58:40 +01:00
Thibault Delavallée d7db8a22f6 [IMP] mass_mailing: trackign url: add database name in parameters
bzr revid: tde@openerp.com-20140328132052-oktsqtpmaez8wax6
2014-03-28 14:20:52 +01:00
Thibault Delavallée bd9e3bc538 [FIX] mass_mailing: make the tracking controller effectively return an image -_-
bzr revid: tde@openerp.com-20140328132007-jbcmxcu9g35ct7gk
2014-03-28 14:20:07 +01:00
Thibault Delavallée 14f1c7836e [IMP] mass_mailing: when creating a new list, display
customers / contacts / leads available for mass mailing using a default search
fitler.

bzr revid: tde@openerp.com-20140328105308-cp4n11lnd5ov8gef
2014-03-28 11:53:08 +01:00
Thibault Delavallée 3a68e4a98d [FIX] mass_mailing: added security rules on mass mailing report
bzr revid: tde@openerp.com-20140328103941-hqyt8p5dzeil4bks
2014-03-28 11:39:41 +01:00
Thibault Delavallée 5fa2297aff [ADD] mass_mailing: added base for mass mailing analysis. Currently void analysis.
- added marketing menu in report, menu added by marketing
- adde dskeleton for mass mailing report + skeleton for graph veiws

bzr revid: tde@openerp.com-20140328102601-pzrtkuble3icdj1g
2014-03-28 11:26:01 +01:00
Thibault Delavallée 900705ca5b [IMP] mass_mailing: added a new menu entry to create a new mailing list
that calls a new wizard, allowing to select contacts/customers/leads and create a new
mailing list.
Also updated default values in action 'create mailing list' for contact, customer and leads.
Also removed minimal form view on list, using only one view, with technical fields put
in group_no_one.

bzr revid: tde@openerp.com-20140327154606-7zrzi1ri1hfaxtay
2014-03-27 16:46:06 +01:00
Thibault Delavallée 1636369747 [IMP] mass_mailing: create template: hide mass_mailing_id field
bzr revid: tde@openerp.com-20140327141259-fs2eazs27qzgp54u
2014-03-27 15:12:59 +01:00
Thibault Delavallée b0488c5974 [REM] mass_mailing: removed some demo data
bzr revid: tde@openerp.com-20140327133144-sat7kxo7kg6z49io
2014-03-27 14:31:44 +01:00
Thibault Delavallée dae3551132 [IMP] mass_mailing: usability improvements
- from mass_mailing, creating or editing a template now goes through a wizard to avoid
tweaking too much the email.template view. This allows an easier management of templates
and their link with mailings.
- moved email.template minimal form view from email_tmeplate to mass_mailing, because it
is the sole module to use it. Tweaked it a bit by the way.
- removed dead code about actions not used anymore in mass_mailing
- empty list help on mail.mass_mailing.list
- various small usability fixes

bzr revid: tde@openerp.com-20140327130827-h9dy2m6mq10gzg1s
2014-03-27 14:08:27 +01:00
Thibault Delavallée dc7398fdd3 [IMP] mass_mailing: use_in_mass_mailing in email_template help
more clear + some explanations in form view

bzr revid: tde@openerp.com-20140327104141-xjx3xy8miw9c28gs
2014-03-27 11:41:41 +01:00
Thibault Delavallée 8250138326 [IMP] mass_mailing: manifest: add a summary, increase the version number
bzr revid: tde@openerp.com-20140327103915-i2n6jojx4huzo2cs
2014-03-27 11:39:15 +01:00
Thibault Delavallée 4d0bced6f6 [IMP] mass_mailing: add empty list on mass mailing model + date is now visible
only when using campaigns, considered as an advanced settings.

bzr revid: tde@openerp.com-20140327103852-cidu24ojdl8gl02m
2014-03-27 11:38:52 +01:00
Thibault Delavallée c5d8eac150 [IMP] [FIX] mass_mailing: email_to, for testing purposes, is back to
a char field. Template is sent wihout being rendered.
Also improved name_get on contact (name <email>).

bzr revid: tde@openerp.com-20140325161813-ixxh8jdb6iliqtso
2014-03-25 17:18:13 +01:00
Thibault Delavallée a2c5e27901 [FIX] mass_mailing: do not perform the mass mailing when not having recipients.
bzr revid: tde@openerp.com-20140325155127-luvpmen8lambhiou
2014-03-25 16:51:27 +01:00
Thibault Delavallée 89b41b3056 [FIX] mass_mailing: fixed demo data, warnings about non existent
fields in demo data.

bzr revid: tde@openerp.com-20140325154246-6b97omyd4tjse7zo
2014-03-25 16:42:46 +01:00
Thibault Delavallée 38541d8d2d [IMP] mass_mailing: cleaned and fixed mass mailing.send_all + added an onverride
of the controller to be able to unsubscribe from leads.

bzr revid: tde@openerp.com-20140325154114-er4o489y3w3ng10f
2014-03-25 16:41:14 +01:00
Thibault Delavallée 6577b935eb [IMP] mass_mailing: improved inherited form view of email template
bzr revid: tde@openerp.com-20140325142640-a0vf1l84keoc35jl
2014-03-25 15:26:40 +01:00
Thibault Delavallée 3c79803ce0 [FIX] mass_mailing: fixed email_template preview model
that inherit from email_template; however with the inheritance mechanism of openerp
it is not updated when email_template itself is updated, therefore having to force
an update with a dummy inheritance.

bzr revid: tde@openerp.com-20140325142621-fbxa2gmeo52zf4qw
2014-03-25 15:26:21 +01:00
Thibault Delavallée b01ecbec97 [FIX] mass_mailing: email_template: finally found how to specify
a form view id in an action; do not use view_id that seems to be used for
that, but changes the view order (always form by default)... bleurg.

bzr revid: tde@openerp.com-20140325093007-g3hy9m8kcac9x1xs
2014-03-25 10:30:07 +01:00
Thibault Delavallée 7945d4bb97 [IMP] email_template: added a minimal form view + some custo in mass mailing views
bzr revid: tde@openerp.com-20140324171017-mcv5m493zpba5tgd
2014-03-24 18:10:17 +01:00
Thibault Delavallée 3752e22481 [FIX] mail.compose.message: display mass mailing data only in mass mailing mode
bzr revid: tde@openerp.com-20140324140051-ijza7tn0w2ljgs4j
2014-03-24 15:00:51 +01:00
Thibault Delavallée b9cbb48ca3 [IMP] mass_mailing: improved send_mail method (WIP). Also added
first fradt of adding an unsubscribe link in the sent emails. Added a controller
managing this unsubscription. It is based on model, res_id and mailing_id, allowing
to find the customer / lead / contact; but the email is added in the link to 
avoid allowing people unsubscribing random people using res_id generation.

bzr revid: tde@openerp.com-20140321172139-sak10zs2g31xj0t4
2014-03-21 18:21:39 +01:00
Thibault Delavallée 7e7260664d [IMP] mass_mailing: delete option added in kanban view of mass mailings
bzr revid: tde@openerp.com-20140320175102-tw5htuv0warh743l
2014-03-20 18:51:02 +01:00
Thibault Delavallée e42a69b10a [FIX] [IMP] mass_mailing: campaign form view: button to duplicate
a mailing is now effectively implemented.

bzr revid: tde@openerp.com-20140320175004-3vlhdw6pnfdsx5hn
2014-03-20 18:50:04 +01:00
Thibault Delavallée ae92bbf2e2 [IMP] mass_mailing: various usability improvements
- See recipients on mailing form view: now opens the recipients in a popup,
- Added a minimal form view for the contact list, used in the actions to create
after choosing filter / domain / recipients, to avoid confusing the user,
- Various small fixes in kanban view of campaign,
- contact_list_ids m2m is now no_create, because there is a button to do it
properly
- changing model now reset the template

bzr revid: tde@openerp.com-20140320170455-6vvudpin2bsp8ida
2014-03-20 18:04:55 +01:00
Thibault Delavallée a581d864a2 [IMP] mass_mailing: improved test send / send to all
- now workign on various models, taking the correct recipient (email, partner_id for partner or lead)
- improved test send: use email_to, now a many2many on contact model to ease the use of templates
- added action to create a mailing list from leads
- moved a res.partner dedicated action to its own file
- added an actoin to create a mailing list from contacts
- fixed mail_mail post_process: use mail_sent variable as mail.state is not available

bzr revid: tde@openerp.com-20140318164117-f2aou25u633j8m57
2014-03-18 17:41:17 +01:00
Thibault Delavallée 4583c1829b [DEMO] mass_mailing: updated demo data
bzr revid: tde@openerp.com-20140318163918-x1jg382boqdci0l3
2014-03-18 17:39:18 +01:00
Thibault Delavallée feadcf402c [FIX] mass_mailing: fixed wrong method called in composer
bzr revid: tde@openerp.com-20140318132017-lx3c4yd9rbelc1an
2014-03-18 14:20:17 +01:00
Thibault Delavallée aef967eefc [IMP] mass_mailing :
- cleaned management of domains in contact lists, now having a method to compute the global domain
of several lists;
- added action to see the contacts of a mailing + contact number correctly counter

bzr revid: tde@openerp.com-20140318130428-8f4kp0ve2lf1rafe
2014-03-18 14:04:28 +01:00
Thibault Delavallée 9845285781 [IMP] mass_mailing: mailing_type -> mailing_model, because
this is basically a model. yay.

bzr revid: tde@openerp.com-20140317171612-lgnaojfadbkwowcw
2014-03-17 18:16:12 +01:00
Thibault Delavallée b4a5960e14 [REM] Dead code
bzr revid: tde@openerp.com-20140317165737-lr1vb8b5x27ykrq9
2014-03-17 17:57:37 +01:00
Thibault Delavallée 030941e192 [DEMO] mass_mailing: updated demo data, sent field new on mail mail stats updated
bzr revid: tde@openerp.com-20140317165713-gh87h9nvfvecm5y0
2014-03-17 17:57:13 +01:00
Thibault Delavallée 73a7dc58d1 [IMP] mass_mailing: improved campaign management in mass mailing wizard
- campaign appear only when having the group activated
- now choosing the mailing name, that create the mailing list + campaign
- currently limited to the valid models

bzr revid: tde@openerp.com-20140317165649-321f0wxatvj4pz5w
2014-03-17 17:56:49 +01:00
Thibault Delavallée b0522b3b79 [ADD] mass_mailing: added forgotten init file
bzr revid: tde@openerp.com-20140317165418-28c33lzbfjnzerel
2014-03-17 17:54:18 +01:00
Thibault Delavallée 61f90f4581 [IMP] mass_mailing: campaign and mailing kanban view update
to match new specs, removed unnecessary CSS.

Also added a sent field on mail mail statistics, to be able to count the
number of really sent emails.

bzr revid: tde@openerp.com-20140317160919-7sx7ja28zaxid67t
2014-03-17 17:09:19 +01:00
Thibault Delavallée b778e5c7fa [REL] mass_mailing: removed now unnecessary wizard to create a new mailing
as the form view of the mailing should be sufficient.

bzr revid: tde@openerp.com-20140317143646-lu3yetolyy2zjxiq
2014-03-17 15:36:46 +01:00
Thibault Delavallée 11a1c91c55 [REF] mass_mailing: moved files in models/data/views directories.
bzr revid: tde@openerp.com-20140317143231-4jp3egoqvolenwxs
2014-03-17 15:32:31 +01:00
Thibault Delavallée 08ab922468 [IMP] [REF] mass_mailing: first draft for the saas-4 refactoring.
Improved mass mailing form view, that is used as a central point to create new
mailings.
Added concept of contact list (based on partner, or leads (to add)), as well as
contact (a list of name / email to import). Mailings are done un contact list
to simplify the way it works.
Added a kanban view of templates, with a flag to filter only mass mailing templates
(to avoid havign to deal with acknoledgments).
Using campaigns is now an option (a group), mailings can be done without having to
deal with campaigns.
Mailings and campaigns now have a status, used to display their kanban view.

bzr revid: tde@openerp.com-20140314165113-g4gvvifrhr2nfu15
2014-03-14 17:51:13 +01:00
Thibault Delavallée 035ad13316 [FIX] mass_mailing: still fixing issues due to read_group update
done in saas-3. Indeed it now returns a date or datetime depending on the field type
whether before saas-3 only a date was returned.

bzr revid: odo@openerp.com-20140219123505-7lvstb3x9mdv0gr0
2014-02-19 13:35:05 +01:00
Olivier Dony bbd813e76e [MERGE] Forward-port of latest saas-2 (incl. 7.0) bugfixes, up to rev. 9127 odo@openerp.com-20140212122042-3m2tysmr31mtecnc
bzr revid: odo@openerp.com-20140212175141-i9yz8zlseglrk8sb
2014-02-12 18:51:41 +01:00
Thibault Delavallée a7c7e33131 [FIX] mass_mailing: fixed variables used outside of their scope
bzr revid: tde@openerp.com-20140204165949-9xax1pul22ktsf41
2014-02-04 17:59:49 +01:00
Fabien Meghazi e974e1fbea [REM] remove disable_db and ensure_db() from addons
bzr revid: fme@openerp.com-20140130092308-s24a7h2mhzuaasf1
2014-01-30 10:23:08 +01:00
Fabien Meghazi c4e48e2388 [REM] Removed auth='admin' from modules
bzr revid: fme@openerp.com-20140129171520-wkz8ot4pa63utoi3
2014-01-29 18:15:20 +01:00
Gery Debongnie 4845221231 [FIX] fixes the call to read_group to make it use the new way to group dates by interval, instead of using the context (addon mass mailing)
bzr revid: ged@openerp.com-20140122122251-t0yrrjfa6ob5eoj0
2014-01-22 13:22:51 +01:00
Christophe Simonis 91aaaec0a5 [MERGE] forward port of branch saas-2 up to revid 9092 dle@openerp.com-20140115165506-yuux9km39gbv7k4n
bzr revid: chs@openerp.com-20140115214454-dhl8xzr429co0j5d
2014-01-15 22:44:54 +01:00
Denis Ledoux 1478317986 [FIX] mass_mailing, marketing: menus displayed to employees only (no portal/anonymous). ACL change too.
bzr revid: dle@openerp.com-20140113151018-5xksff08s0vrjh8d
2014-01-13 16:10:18 +01:00
Thibault Delavallée 01e88881e1 [FIX] mass_mailing: do not create a new mailing wave when already specified on the compose wizard
bzr revid: tde@openerp.com-20140109141856-xrublf8oi5mkutgu
2014-01-09 15:18:56 +01:00
Thibault Delavallée 1aa92dbc46 [FORWARD] Forward port of saas-2 fixes until revision 9058 (revid tde@openerp.com-20131220162158-hbgktly09dv37958)
bzr revid: tde@openerp.com-20131220165519-2okhclp3qb3if1ey
2013-12-20 17:55:19 +01:00
Thibault Delavallée 8030688084 [FIX] mass_mailing: opening the composer when sending a new wave should not have the res_id
linked to the campaign. As we are working with mass mailing, it should be False; ids will come
from active_ids / active_domain.

bzr revid: tde@openerp.com-20131219100041-85mbafgk05u8naud
2013-12-19 11:00:41 +01:00
Thibault Delavallée 40994c2966 [FIX] mass_mailing: when creating a new wave from the mass mailing campaign
kanban view, add the campaign in default

bzr revid: tde@openerp.com-20131219095729-k5tsvmkqm2mdsnza
2013-12-19 10:57:29 +01:00
Martin Trigaux 54be818a3b [MERGE] forward port of latest saas-2 until rev 9051 dle@openerp.com-20131217142126-1lbim47d2m2x4bb0
bzr revid: mat@openerp.com-20131218155715-khb909yy99cbmna8
2013-12-18 16:57:15 +01:00
Thibault Delavallée 19eeff611e [FIX] mass_mailing: fixed previous fixes, because of order of loaded files
bzr revid: tde@openerp.com-20131210144503-ftg1y7xvs7smh269
2013-12-10 15:45:03 +01:00
Thibault Delavallée 989a0d7890 [IMP] mass_mailing: added a link to create a wave directly from the kanban view
bzr revid: tde@openerp.com-20131210141704-u9t6zlfypmi1wba3
2013-12-10 15:17:04 +01:00
Thibault Delavallée 7f7e698feb [FIX] mass_mailing: wave creation wizard: fixed closing button jumping after setting the wave name
bzr revid: tde@openerp.com-20131210141646-17y49b7xvckepogz
2013-12-10 15:16:46 +01:00
Thibault Delavallée eb722dc25a [FIX] mass_mailing: fixed model used for the mass mailing itself when creating a new wave. It was receiving active_model aka mass.mailing.create instead of the correct target model (ex res.partner when mailing partners). Also updated a field string to be clearer.
bzr revid: tde@openerp.com-20131210133934-xtydu43fkh7htxdg
2013-12-10 14:39:34 +01:00
Thibault Delavallée 75548727ec [FIX] mass_mailing: fixed label for template choice when creating a new wave of mass mailing
bzr revid: tde@openerp.com-20131210133830-rhm6t1unz6urrxxj
2013-12-10 14:38:30 +01:00
Antony Lesuisse 57ef91409a [MERGE] bootstrap3
bzr revid: al@openerp.com-20131202132445-oux9j63auh4om284
2013-12-02 14:24:45 +01:00
Christophe Simonis 0521d1aab3 [MERGE] forward port of branch saas-2 up to revid 9017 chs@openerp.com-20131127110552-3u2nxwu01gxj9i7m
bzr revid: chs@openerp.com-20131127111208-iclt7a9ib7oucumh
2013-11-27 12:12:08 +01:00
Christophe Simonis 081085c294 [FIX] mass_mailing: statistics does not have a `state` field
bzr revid: chs@openerp.com-20131124200156-7kqad8d20jlip46t
2013-11-24 21:01:56 +01:00
ima-openerp 3bf3bc3895 [IMP]improved css for base_import, mass_mailing and idea module.
bzr revid: ima@tinyerp.com-20131118121605-1rn0z4hojxblngbu
2013-11-18 17:46:05 +05:30
Antony Lesuisse 3d8b7984be import cleanups part1
bzr revid: al@openerp.com-20131022170659-kg9err029ha22evh
2013-10-22 19:06:59 +02:00
Thibault Delavallée 9e85aa3e72 [FORWARD] Forward port of saas-2 branch until revision 8931 tde@openerp.com-20131003140458-ztnd9taih2rcq8ty
bzr revid: tde@openerp.com-20131004081915-4i2rn3fsj8qzov63
2013-10-04 10:19:15 +02:00
Thibault Delavallée f72927123e [FIX] crm, sale_crm, mass_mailin: fixed computation for sparkline widgets.
Added an end date in the read_group domain. Indeed having results outside the date range
made the result computation crash because of list limits. There is now a begin and end
date for groupby domain.

bzr revid: tde@openerp.com-20131003082736-tw50xk2vmhpjh1e5
2013-10-03 10:27:36 +02:00
Fabien Pinckaers 490df83abb [IMP] typo manifest mass mailing'
bzr revid: fp@tinyerp.com-20130920112827-7m7f20rkykzikr3e
2013-09-20 13:28:27 +02:00
Fabien Pinckaers 564d918018 [IMP] typos
bzr revid: fp@tinyerp.com-20130920112647-3lxisf9fpp8u5g0o
2013-09-20 13:26:47 +02:00
Fabien Pinckaers 83fb31d7ee [IMP] Mass Mailing Manisfest
bzr revid: fp@tinyerp.com-20130920101459-zft3pwjxirfyc8b3
2013-09-20 12:14:59 +02:00
Fabien Pinckaers 26206c7f05 [IMP] reduced image
bzr revid: fp@tinyerp.com-20130920101052-4yucer88lco3do51
2013-09-20 12:10:52 +02:00
Fabien Pinckaers 21b6035098 [IMP] cross-reference in marketing campaigns
bzr revid: fp@tinyerp.com-20130920100942-sonifw69xxywhhkh
2013-09-20 12:09:42 +02:00
Fabien Pinckaers 52daaf92c4 [IMP] moved manifest
bzr revid: fp@tinyerp.com-20130920094813-2zoas8d93rn2px0m
2013-09-20 11:48:13 +02:00
Fabien Pinckaers 282db53a45 [IMP] Mass Mailing Manifest
bzr revid: fp@tinyerp.com-20130920094533-b48lqy8oc4agd3yo
2013-09-20 11:45:33 +02:00
Thibault Delavallée c17ecb54ec [FIX] addons: fixed various calls to fields.datetime.now in defaults
bzr revid: tde@openerp.com-20130919142338-v2ygkid2abw2j3wl
2013-09-19 16:23:38 +02:00
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 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
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
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