Thibault Delavallée
3180b4def5
[CLEAN] mail: cleaned mail-invite before merging. Updated some methods and var names; updated some comments.
...
bzr revid: tde@openerp.com-20120913154844-i5tikncn3sxepk34
2012-09-13 17:48:44 +02:00
Thibault Delavallée
8868fa2810
[IMP] mail_wizard_invite: message is now an html field, and default values embedded inside a div. Added a subject to email sent to newly added followers.
...
bzr revid: tde@openerp.com-20120913103319-6jg5moa0tl9p6ujn
2012-09-13 12:33:19 +02:00
Thibault Delavallée
b183962347
[IMP] mail_wizard_invite: updated default message. An override of default_get allows to have a more precise message.
...
bzr revid: tde@openerp.com-20120913093320-mhwp43kkgoqd0h33
2012-09-13 11:33:20 +02:00
Thibault Delavallée
e7a24e7350
[IMP] mail: invite wizard: added default message; added email send to the newly added followers.
...
bzr revid: tde@openerp.com-20120912163618-rp67taqr24zp2yei
2012-09-12 18:36:18 +02:00
Thibault Delavallée
2b7112d7ae
[MERGE] Merged with addons/trunk.
...
bzr revid: tde@openerp.com-20120912142748-mnsaftqea2anwkrc
2012-09-12 16:27:48 +02:00
Thibault Delavallée
828ed33de7
[ADD] mail: added Invite wizard, allowing to add partners to the followers.
...
bzr revid: tde@openerp.com-20120912133522-af5dvae1rmburfwy
2012-09-12 15:35:22 +02:00
Thibault Delavallée
afb49abd3c
[FIX] mail.compose.message: fixed a crashing test; fixed parent_id of created mail.message not set, and added a test for that case.
...
bzr revid: tde@openerp.com-20120912102111-jg5thn4tia92hu4k
2012-09-12 12:21:11 +02:00
Thibault Delavallée
c938702ff3
[CLEAN] mail.compose.message: cleaned a bit the comments.
...
bzr revid: tde@openerp.com-20120912092214-b4x42nv30tok8wdc
2012-09-12 11:22:14 +02:00
Thibault Delavallée
4ede1863d6
[MERGE] Merged with addons/trunk.
...
bzr revid: tde@openerp.com-20120912080624-kip95tfjiectqexa
2012-09-12 10:06:24 +02:00
Fabien Pinckaers
0296e350a9
[IMP] quick create partners with email
...
bzr revid: fp@tinyerp.com-20120911161900-7vd2qtd9e0guk1pu
2012-09-11 18:19:00 +02:00
Fabien Pinckaers
d7b31c3202
[FIX] Force create when no email in name_create of mail.compose
...
bzr revid: fp@tinyerp.com-20120911153645-vpi3wi4ddt2tqr5s
2012-09-11 17:36:45 +02:00
Thibault Delavallée
9b9bdae9e0
[IMP] composer: attachments are attached to the mail.compose.message record, not the related document anymore. This way, when deleting the mail.compose.message, attachments will be unlinked. Added deletion cascaded to res_model and res_id = 0, because of attachments added on a not-already-saved composer. BTW, cleaned mail/__openerp__.py.
...
bzr revid: tde@openerp.com-20120906134201-8845xov0mjbxh8mr
2012-09-06 15:42:01 +02:00
Thibault Delavallée
a1fe453223
[IMP] mail_message: attachments deleted when unlinking are those with model=self._name, not only 'mail.mesage'. This allows to remove the unlink override in mail.compose.message.
...
bzr revid: tde@openerp.com-20120906125217-27nlyveznh12bk63
2012-09-06 14:52:17 +02:00
Thibault Delavallée
9fb978ea81
[IMP] mail: added and cleaned the tests. Fixed various small bugs in composer. Fixed mail_message.message_read() and flattening algorithm. Cleaned tests for message_read to have a more precise test.
...
bzr revid: tde@openerp.com-20120905155319-wd168m5snb25ari9
2012-09-05 17:53:19 +02:00
Thibault Delavallée
fd2a413969
[FIX] [CLEAN] mail_thread: misc cleanup (comments, vars, typo). Fixed subscriber API. It now handles a read_back key in context to return the new value of the field. The purpose is to use it in mail_followers widget, that behaves asynchronously compared to the form_view, and that need updated values after subscribing a user. Updated mail_followers widget, cleaned its code. Updated mail_group with wrappers on message_subscriber_users, because it was setting user_ids as context.
...
bzr revid: tde@openerp.com-20120904133648-plsziijac64lw4de
2012-09-04 15:36:48 +02:00
Thibault Delavallée
54ec6e8892
[IMP] hr_evaluation: also updated default values when sending a mass_mail reminder.
...
bzr revid: tde@openerp.com-20120904115723-v5ifjg18l8hmbdj2
2012-09-04 13:57:23 +02:00
Thibault Delavallée
1974375c92
[IMP] hr_evaluation: send remainder email now uses context values to set some default values when sending an email. This is a basic fix of missing feature due to hr_evaluation/wizard/mail_compose_message override. Updated classic form view of mail.compose.message. Not sure it is usefull to keep two form (one classic and one Chatter)... maybe there is something to do here.
...
bzr revid: tde@openerp.com-20120904115416-zuvna57r3oj37hpu
2012-09-04 13:54:16 +02:00
Thibault Delavallée
c52ab94960
[REVIEW] addons: small cleanups nex to a diff read. Some improvements will follow, this commit is about small cleanups.
...
bzr revid: tde@openerp.com-20120904092820-56zgwpkqfpd7as5k
2012-09-04 11:28:20 +02:00
Thibault Delavallée
88ce376c32
[CLEAN] mail_compose_message: removed default values for partner_ids, that were a bit strange.
...
bzr revid: tde@openerp.com-20120903181000-4al2stqzqfw4bhfc
2012-09-03 20:10:00 +02:00
Thibault Delavallée
0f3101cec5
[FIX] mail.compose.message: fixed send_mail about getting mass_mail values from template; fixed generated body that was adding a signature in reply mode; added the test that trigerred that bug.
...
bzr revid: tde@openerp.com-20120831171507-1prt4h46zsj77m23
2012-08-31 19:15:07 +02:00
Thibault Delavallée
0b67a85725
[FIX] mail.message, mail.compose.message: fixed attachments management, added tests.
...
bzr revid: tde@openerp.com-20120831125605-1oizomm2pv3b5rse
2012-08-31 14:56:05 +02:00
Olivier Dony
9aabe91bbf
[FIX] email_template: wip - trying to make templates work again
...
bzr revid: odo@openerp.com-20120830174452-59q43k1x13at4i37
2012-08-30 19:44:52 +02:00
Thibault Delavallée
00fc7d1e88
[IMP] mail.compose.message: added basic mass_mail support back. Moved generation into a dedicated method, to be inherited in email_template. Added somes tests in mail to test mass_mailing without email_template.
...
bzr revid: tde@openerp.com-20120830143549-33sgtd30asvztg2c
2012-08-30 16:35:49 +02:00
Thibault Delavallée
bec83eef6f
[REF] mail_mail: body_html is back, holding the body of emails to send.
...
Body of send emails is mail_mail.body_html, not body anymore.
Signature adding is back to mail_followers.notify().
Subject adding is still done just before sending.
Updated mail_mail view. mail.compose.message: body_text inside <pre>.
[TESTS] mail: added tests for message_post, updated tests for mail.message.compose to test the composer only.
bzr revid: tde@openerp.com-20120830085116-o5h13yqodt0vof0k
2012-08-30 10:51:16 +02:00
Thibault Delavallée
9b6379462b
[REF] mail_mail: cool and clean refactoring of the models.
...
Removed body_html and content_subtype fields. We now entirely
rely on the body field, that holds sanitized HTML.
Added a user_signature field from email_template. mail_mail.send()
is now responsible of adding the signature on emails.
mail_notification.notify() sets the user_signature flag on
emails send for notifciations.
mail_mail.send() is responsible of adding a default subject
on emails send if there is no subject on the mail.message,
and res_id and model are set.
purchase_requisition: removed an override of mail.message
schedule_with_attach.
bzr revid: tde@openerp.com-20120829150002-v8t581oesnw0rhvl
2012-08-29 17:00:02 +02:00
Thibault Delavallée
aa20e32fba
[FIX] mail.compose.message: added a log access because it seems abstract model need that ...
...
bzr revid: tde@openerp.com-20120828095046-tqx7gpm6d2we4d1o
2012-08-28 11:50:46 +02:00
Thibault Delavallée
fb76f9f037
[IMP] [FIX] crm_partner_assign: as it inherits from mail.compose.message, updated the form view to avoid crashe; updated mail.compose.message composition mode, that is now an updatable selection field. crm_partner_assign will habe to be massively cleaned with the new mail module.
...
bzr revid: tde@openerp.com-20120824122928-dof1y1uxv3lkiwly
2012-08-24 14:29:28 +02:00
Olivier Dony
545d7843e3
[FIX] marketing_campaign: make tests pass again, move partner resolution to mail_compose_message
...
email_template's job is to generate a mail.mail record, but it
does not care about linking it automatically to a partner
(and certainly not creating new partners) as this must be
usable for mass mailing and for marketing campaign,
and we don't want to pollute the partners database with
possibly thousands of partially fake emails
bzr revid: odo@openerp.com-20120824120102-jycs8x4vkxdmrvge
2012-08-24 14:01:02 +02:00
Olivier Dony
f4c2bd121f
[IMP] mail.compose.message: cascade delete attachments upon vacuum-clean
...
bzr revid: odo@openerp.com-20120824112312-zs5raruc4qdprlnp
2012-08-24 13:23:12 +02:00
Thibault Delavallée
95a66586d9
[REF] [TEST] mail: cleaned the way followers are added to a message partner_ids (done in notify in mail.message) and the way emails are send (done in notify in mail.followers). Composition wizard override mail_message.notify to avoid having partners and sending emails. Also added tests that helped finding some bugs, that will be cleaned tomorrow.
...
bzr revid: tde@openerp.com-20120823180648-8xpu8qyf7qr6azc2
2012-08-23 20:06:48 +02:00
Thibault Delavallée
4e6e86fab5
[IMP] [CLEAN] [WIP] composer: cleaning of the server-side code. It now relies less on context keys and values; some fields have been added to manage the composition mode, model, res_id and message_id as a classic form. Updated form view, with invisible fields, to have those value accessible and modifiable through onchange or through JS. Updated JS-part of the composer to handle the new composer; less options, less logic client-side ! Still not finished, short in time today (have to check mass_mail, templates).
...
bzr revid: tde@openerp.com-20120822162151-n9o23ik0v45h7v6j
2012-08-22 18:21:51 +02:00
Olivier Dony
406e58399f
[FIX] mail: unify message_post calls, fix typos, various lint cleanup
...
bzr revid: odo@openerp.com-20120822113439-aoy7v4njs6o34tu5
2012-08-22 13:34:39 +02:00
Fabien Pinckaers
2f9f57cc46
[IMP] removing some FP Note
...
bzr revid: fp@tinyerp.com-20120822083608-2q98p1758erm8f7t
2012-08-22 10:36:08 +02:00
Fabien Pinckaers
20748495c6
[IMP] force email when quick create
...
bzr revid: fp@tinyerp.com-20120821180351-t28m9svpdj8ois0k
2012-08-21 20:03:51 +02:00
Thibault Delavallée
24651a903b
[IMP] mail.compose.message: added body_text filed, for plain-text; updated composer accordlingly, removed some dead code/css classes.
...
bzr revid: tde@openerp.com-20120821144930-ucgmx8rwasamhpgp
2012-08-21 16:49:30 +02:00
Thibault Delavallée
169c8055ba
[REF] mail.compose.message: removed extended mode, because not really usefull. Removed reference to that mode in addons (crm lead, crm claim, crm helpdesk, hr evaluation, hr recruitement, project issue). Completely removed the wizard directory in hr_evaluation: mail_compose_message will become a button (TODO), and other files were not called anymore in init/openerp files.
...
bzr revid: tde@openerp.com-20120821142747-q9drv71749opusr1
2012-08-21 16:27:47 +02:00
Fabien Pinckaers
afbcc4b579
[FIX] compisition seems to work
...
bzr revid: fp@tinyerp.com-20120820190231-3cnvj7dtmfgojal4
2012-08-20 21:02:31 +02:00
Fabien Pinckaers
4b6303f205
fix
...
bzr revid: fp@tinyerp.com-20120820184602-dlz954b8wisethpi
2012-08-20 20:46:02 +02:00
Fabien Pinckaers
9d61a88b40
[IMP] compose wizards
...
bzr revid: fp@tinyerp.com-20120820165110-h6dub7l7zaufpj3n
2012-08-20 18:51:10 +02:00
Fabien Pinckaers
9fd90c604e
test
...
bzr revid: fp@tinyerp.com-20120820140901-pqvj3fj8zruit3f4
2012-08-20 16:09:01 +02:00
Fabien Pinckaers
06f60b3517
[FIX] body_text --> body, not ure it's good enough
...
bzr revid: fp@tinyerp.com-20120817120606-t97l9x2dguuv7kmp
2012-08-17 14:06:06 +02:00
Fabien Pinckaers
cb944d66ea
[IMP] mail message
...
bzr revid: fp@tinyerp.com-20120817070218-rp1ssuhwnf8raitf
2012-08-17 09:02:18 +02:00
Fabien Pinckaers
960e4ba541
[IMP] email cleaning
...
bzr revid: fp@tinyerp.com-20120816164311-o7r05mewrvjoldsg
2012-08-16 18:43:11 +02:00
Fabien Pinckaers
d820e866ee
[MERGE] trunk
...
bzr revid: fp@openerp.com-20120815185713-82zylb0yqqgs008y
2012-08-15 20:57:13 +02:00
Fabien Pinckaers
677024e099
[IMP] refactoring email
...
bzr revid: fp@openerp.com-20120815184403-dtpep7ypwbc6hm5w
2012-08-15 20:44:03 +02:00
Thibault Delavallée
aac03b547d
[MERGE] Merged with addons/trunk.
...
bzr revid: tde@openerp.com-20120814152634-ix63oxwcyrfkku4t
2012-08-14 17:26:34 +02:00
niv-openerp
91c6cb6d8d
[IMP] replaced text_html widget by html field
...
bzr revid: nicolas.vanhoren@openerp.com-20120814131003-5iquqrl8g85v2otc
2012-08-14 15:10:03 +02:00
niv-openerp
1ea43c0a23
Changed necessary fields
...
bzr revid: nicolas.vanhoren@openerp.com-20120813160654-kdebwwds8eysxtar
2012-08-13 18:06:54 +02:00
Thibault Delavallée
620b7e9b11
[IMP] Addons: user_email -> email.
...
bzr revid: tde@openerp.com-20120810144339-30ro9omgfxtjtjyz
2012-08-10 16:43:39 +02:00
Twinkle Christian (OpenERP)
4c17810919
[IMP]Remove type field from the views
...
bzr revid: tch@tinyerp.com-20120808130614-ppieuro8um3fylbt
2012-08-08 18:36:14 +05:30