Thibault Delavallée
e86ee64b0a
[MERGE] Mass Mailing branch. The purpose of this branch is to improve the mass mailing using the composer wizard, and a better support of email template values. Mass mailing basically posts a message on a document, without notifying the followers. Options are added that allow to send pure email mass mailing, or to notify followers. Specifying a reply to address is now supported. It by-passes the automatic thread fetching by directly looking for aliases instead of rebuilding threads when processing replies. Some templates have also been updated or added to support mass mailing in CRM.
...
mail_mail
- added recipient_ids field, that holds specific recipients in addition to email_to; this field replace the recipient_ids parameter of mail_mail.send(), allowing to re-send failed emails, or at least store the whole mail information about recipients,
- updated form view to add some missing fields in the view,
mail_message
- added 'reply_to' field, that holds specific reply_to value, before passing it to the created email notifications,
mail_compose_message
- added 'post' boolean field: whether the message will be posted on the document (using active_model_pool.message_post()), or if it should only be an email (using mail_mail.create()),
- added 'notify' boolean field: if the message is posted on the document, tells whether the followers should be notified of the message,
- added 'same_thread' boolean field: if not set, a custom reply_to will be used and the automatic thread routing in message_process will be py-passed,
email_template
- renamed 'email_recipients' field into 'partner_to' (more coherent: email_to is a list of emails, partner_to is a list of partner ids),
- added default template on res.partner, setting partner_to as obj.id,
- moving mass mailing action from mail to email_template, that now uses the previous template,
mail_compose_message in email_template
- added partner_to, email_to and email_cc to be able to use those fields, that exist on the template, in the wizard
crm
- updated basic lead/opportunity template, setting partner_to as obj.partner_id.id, or email_to as obj.email_from
- added mass mailing action for lead/opportunity that uses the previous template
bzr revid: tde@openerp.com-20130319095505-efv0mdzq2fnwnila
2013-03-19 10:55:05 +01:00
Thibault Delavallée
68282c6064
[IMP] mail_compose_message: some fields back to visible.
...
bzr revid: tde@openerp.com-20130319093844-82c95hmwznaprp6t
2013-03-19 10:38:44 +01:00
Thibault Delavallée
522f144781
[CLEAN] Misc cleaning and code review before merging.
...
bzr revid: tde@openerp.com-20130319091844-tnpd0w8tlagcbypz
2013-03-19 10:18:44 +01:00
Thibault Delavallée
e559949f07
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20130319090148-ggdkll48f9343y1l
2013-03-19 10:01:48 +01:00
Launchpad Translations on behalf of openerp
72cfad62ae
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130319055226-z0y9upevo90gjrp7
2013-03-19 05:52:26 +00:00
Launchpad Translations on behalf of openerp
3f28f35405
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130319053351-ewu7qa30awce4qli
2013-03-19 05:33:51 +00:00
Thibault Delavallée
acb14cdead
[FIX] mail: fixed issues with partner_ids now being a list of ids and not a list of commands anymore.
...
bzr revid: tde@openerp.com-20130318154923-svnh1h6sm06nrbt6
2013-03-18 16:49:23 +01:00
Thibault Delavallée
bcc7fcb3c6
[FIX] mail: missing 'nice' reply_to is back on track.
...
bzr revid: tde@openerp.com-20130318150252-twwxoborz8ppeh6a
2013-03-18 16:02:52 +01:00
Quentin (OpenERP)
d7fbdc78d2
[FIX] auth_signup: fixed wrong xml syntax due to poor conflict-resolving
...
bzr revid: qdp-launchpad@openerp.com-20130318134932-me3dlcu2sugvuscc
2013-03-18 14:49:32 +01:00
Thibault Delavallée
6bbc658f9b
[FIX] mail: fixed wrong var name in notify; fixed a missing email in tests.
...
bzr revid: tde@openerp.com-20130318131919-31zdc7309c4zt8xj
2013-03-18 14:19:19 +01:00
Quentin (OpenERP)
333e83fc5b
[REF] account_payment: removal of amount_to_pay field on account.move.line and account.invoice, replaced by amount_residual
...
bzr revid: qdp-launchpad@openerp.com-20130318122748-ac9k5bhka1foadvr
2013-03-18 13:27:48 +01:00
Quentin (OpenERP)
2b64c79c3d
[MERGE] forward port of fixes made in v7 addons branch up to revision 8872
...
bzr revid: qdp-launchpad@openerp.com-20130318122717-qptmntn26bx4wn8r
2013-03-18 13:27:17 +01:00
Thibault Delavallée
7e696dfdcb
[MERGE] Sync with trunk and latest mail changes.
...
bzr revid: tde@openerp.com-20130318122027-l570iyzlljshz4ne
2013-03-18 13:20:27 +01:00
Thibault Delavallée
00bb2273d9
[MERGE] 'Invite & Quick Create User' update. Addons branch; see server branch for more details.
...
Quick Create:
- [ADD] in context of 'user_id' fields the xml_ids of necessary groups,
Invite:
- [ADD] added send_mail boolean field on invite wizard, allowing to avoid sending emails when inviting someone as a follower on the document,
- [IMP] notification and invite signature: improved signature (now including: sender name, company name as a link to the company website); invite message and subject improved, small code re-organization
Misc:
- [IMP] sheet tags added in various form views in HR
bzr revid: tde@openerp.com-20130318121439-xyl34r9tdut6t19c
2013-03-18 13:14:39 +01:00
Thibault Delavallée
027c419181
[MERGE] 'Invite & Quick Create User' update. The server branch holds in res_users.create() the support of key in context, allowing to put xml_ids of user groups in the context of relational fields linking to res.users. The purpose of this modification is to quick-create users that will have the access rights related to the functional meaning of the field. For example creating an user in the 'Responsible' field of a task should add him in the group related to project management.
...
Example of use : <field name="user_id" string="Project Manager" context="{'default_groups_ref': ['base.group_user', 'project.group_project_manager']}"/> will add Employee (base.group_user) and Project Manager (project.group_project_manager) groups, as well as implied groups.
res_users:
- [add] added support of key in context of default_get. It contains a list of xml_ids of user groups; those groups, if found, are added to the newly created user,
- [ref] refactored simplified (quick create) view that is now more like a contact card, with login and email required because of the login email that will be send to the user
bzr revid: tde@openerp.com-20130318120905-1w9xpoyppnj62wlj
2013-03-18 13:09:05 +01:00
Thibault Delavallée
ea26bc7f0d
[CLEAN] addons: removed duplicated base.group_user in context of default_groups_ref.
...
bzr revid: tde@openerp.com-20130318113948-i2chxw0a9xs356v3
2013-03-18 12:39:48 +01:00
Olivier Dony
8e3ba8e34e
[FIX] service.db: missing imports
...
lp bug: https://launchpad.net/bugs/1155523 fixed
bzr revid: odo@openerp.com-20130318110257-x9591dl74vu8yf2f
2013-03-18 12:02:57 +01:00
Olivier Dony
125b2a804a
[IMP] service.wsgi_server: useless import
...
bzr revid: odo@openerp.com-20130318110229-h4422zy2kcjys2ik
2013-03-18 12:02:29 +01:00
Thibault Delavallée
7602819aa3
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20130315093732-2u1lc5x51276ethu
bzr revid: tde@openerp.com-20130318101836-rve5ane4rheiiq6k
2013-03-18 11:18:36 +01:00
Thibault Delavallée
de5a303c4d
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20130318101828-6csyuhmutrvm5ld5
2013-03-18 11:18:28 +01:00
Launchpad Translations on behalf of openerp
4ce8d2697d
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130316055338-ogfw01ap8fh1hlaj
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317045918-zi1230lgxjbkqw3x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130318044640-ts2tr31y2gl25rev
2013-03-18 04:46:40 +00:00
Thibault Delavallée
660b94845a
[IMP] mail_compose_message: mass mailing does not auto_subscribe author anymore.
...
bzr revid: tde@openerp.com-20130315124009-xgfwr5xuxe1fhrut
2013-03-15 13:40:09 +01:00
Thibault Delavallée
5d59401b91
[MERGE] Sync with trunk, tried to resolve the conflicts without breakign everything.
...
bzr revid: tde@openerp.com-20130315120759-sf1o1sd80ycuuy7n
2013-03-15 13:07:59 +01:00
Xavier Morel
9494f21ea8
[FIX] __getattr__ implementation on BaseModel
...
object has no __getattr__, in the usual case super(BaseModel,
self).__getattr__ will blow up with an AttributeError (but the wrong
one).
On the other hand, if a BaseModel descendant class is used in MI
alongside a non-BM descendant (e.g. res_partner inheriting from Model
and format_address) and the non-BM descendant also implements
__getattr__, we want to forward the failed attr search to the other
__getattr__ implementation.
So check if super() has a __getattr__, call it if it does otherwise
AttributeError right there.
bzr revid: xmo@openerp.com-20130315115302-z7jla334gb9a5e43
2013-03-15 12:53:02 +01:00
Thibault Delavallée
4484a3197c
[MERGE] Sync with trunk, resolved conflicts due to forward port of 7.0
...
bzr revid: tde@openerp.com-20130315114338-54scb00rkp7zwr30
2013-03-15 12:43:38 +01:00
Olivier Dony
914a97f329
[FIX] account_analytic_analysis: remove duplicate method kept by mistake while porting 7.0 fixes to trunk in rev.8620
...
bzr revid: odo@openerp.com-20130315113120-xsmfoxw6a6kaylzm
2013-03-15 12:31:20 +01:00
Thibault Delavallée
4387187b8b
[IMP] mail: invite: slighty updated invite message. Updated tests accordingly.
...
bzr revid: tde@openerp.com-20130315110554-rszi5u1c9dybzq46
2013-03-15 12:05:54 +01:00
Thibault Delavallée
46101c447b
[FIX] mail.css: fixed a forgotten ';'; added a bit of style to invite people button.
...
bzr revid: tde@openerp.com-20130315110528-oggnd7iwktgag5a1
2013-03-15 12:05:28 +01:00
Thibault Delavallée
627ebc4a73
[CLEAN] mail_followers: cleaned code of get_signature_footer: same feature, but a bit less code.
...
bzr revid: tde@openerp.com-20130315110455-7ho0djpjlkbap6l1
2013-03-15 12:04:55 +01:00
Thibault Delavallée
646c83c250
[IMP] mail_mail: delegated footer modification into a dedicated method called by send_get_email_body.
...
bzr revid: tde@openerp.com-20130315110421-if39vmvov4loe5u7
2013-03-15 12:04:21 +01:00
Quentin (OpenERP)
6643ad24a9
[FIX] account_payment: soft removal of buggy _amount_to_pay field, not needed as the field residual is making the trick most of the time
...
bzr revid: qdp-launchpad@openerp.com-20130315110052-u57rx4ntaazqw827
2013-03-15 12:00:52 +01:00
Quentin (OpenERP)
970531816e
[FIX] account_analytic_analysis, usability: removal of a default filter not wanted
...
bzr revid: qdp-launchpad@openerp.com-20130315104619-lh31vdupmkxzvou7
2013-03-15 11:46:19 +01:00
Quentin (OpenERP)
c7b92b785b
[FIX] linkedin module compliancy with saas and https protocol
...
bzr revid: qdp-launchpad@openerp.com-20130315103847-lr9ofry7ceuqgcu5
2013-03-15 11:38:47 +01:00
Quentin (OpenERP)
d0f5b28bd0
[MERGE] merge with main trunk branch to get last translations from launchpad
...
bzr revid: qdp-launchpad@openerp.com-20130315103116-lxj96usw3ipd11z5
2013-03-15 11:31:16 +01:00
Thibault Delavallée
cb6b598763
[MERGE] Sync with trunk.
...
bzr revid: tde@openerp.com-20130315093907-8kc28n669unmr1n2
2013-03-15 10:39:07 +01:00
Thibault Delavallée
a8aebe31f3
[IMP] res_users: improved simplified form (using info_box).
...
bzr revid: tde@openerp.com-20130315093658-8ihhf3h4w6q3vypo
2013-03-15 10:36:58 +01:00
Olivier Dony
8e06ab16d0
[MERGE] Bugfixes from the 7.0 branch, up to rev. 3845
...
rev.3845 = launchpad_translations_on_behalf_of_openerp-20130315064417-68iimts1xgj8bn5z
bzr revid: odo@openerp.com-20130315090112-n4h5wpxk2sjhwvrd
2013-03-15 10:01:12 +01:00
Launchpad Translations on behalf of openerp
dcc9a3aeab
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317052921-m3gthz6l7fx1jwu7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315064417-68iimts1xgj8bn5z
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317053035-kqb70nwvcg1iqldu
2013-03-17 05:30:35 +00:00
Launchpad Translations on behalf of openerp
2a05506a95
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315064413-o75f8ljrruhoziqa
2013-03-15 06:44:13 +00:00
Launchpad Translations on behalf of openerp
72f29d98b8
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315055412-luy9qg1pkdjnqlud
2013-03-15 05:54:12 +00:00
Launchpad Translations on behalf of openerp
e23fba677e
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315045639-qfbb8ay587g0rs6p
2013-03-15 04:56:39 +00:00
Antony Lesuisse
9eb729057f
[FIX] crm_partner_assign form use v7 groups
...
bzr revid: al@openerp.com-20130315022239-jfypwp9e027wdat5
2013-03-15 03:22:39 +01:00
Antony Lesuisse
a551be093e
[FIX] crm_partner_assign next review date in list
...
bzr revid: al@openerp.com-20130315020352-jx3y451n301ykbqx
2013-03-15 03:03:52 +01:00
Antony Lesuisse
f883706c17
[MERGE] auth_signup res.users improve display of invitation and reset password
...
bzr revid: al@openerp.com-20130314223326-b0j801ndgg1ru1lr
2013-03-14 23:33:26 +01:00
Antony Lesuisse
4f6e61a05e
[MERGE] base.sass infobox and url text attribute
...
bzr revid: al@openerp.com-20130314222838-xjf3p76o1n1u2y93
2013-03-14 23:28:38 +01:00
Fabien Meghazi
ac64a4fcb8
[IMP] Improved box_info box_warning css
...
bzr revid: fme@openerp.com-20130314222616-gz7f0zpnpz0skq88
2013-03-14 23:26:16 +01:00
Quentin (OpenERP)
d4b1f78b57
[FIX] purchase; don't try to post messages on PO if there is no purchase related to an invoice
...
bzr revid: qdp-launchpad@openerp.com-20130314170226-3bvvsvd8aq2a9lkg
2013-03-14 18:02:26 +01:00
Quentin (OpenERP)
43afe718fd
[MERGE] tools: regex to find the good partner name
...
bzr revid: qdp-launchpad@openerp.com-20130314170010-ggybuy16m96kulem
2013-03-14 18:00:10 +01:00
Quentin (OpenERP)
513601e641
[FIX] sale: don't try to post messages on SO if there is no sale related to an invoice
...
bzr revid: qdp-launchpad@openerp.com-20130314164413-qv3j3b3tcc4zt6b7
2013-03-14 17:44:13 +01:00
Fabien Meghazi
868075d7ca
[FIX] Give correct context for invitatio
...
bzr revid: fme@openerp.com-20130314163913-wteq8qrimxqmro76
2013-03-14 17:39:13 +01:00