Commit Graph

207 Commits

Author SHA1 Message Date
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
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 620b7e9b11 [IMP] Addons: user_email -> email.
bzr revid: tde@openerp.com-20120810144339-30ro9omgfxtjtjyz
2012-08-10 16:43:39 +02:00
Thibault Delavallée 707c2dd573 [FIX] mail.compos.message: outgoing state only for emails. Send only emails, also.
bzr revid: tde@openerp.com-20120720125709-rgfiwsy8qp3z5x1f
2012-07-20 14:57:09 +02:00
Thibault Delavallée 9cfa2908b8 [FIX] mail_compose_message: lost '{'.
bzr revid: tde@openerp.com-20120720082549-2z2feyuk37xrlqtw
2012-07-20 10:25:49 +02:00
Thibault Delavallée 7e748858cd [FIX] mail compose message: fixed body_html on quotation, fixed reference and header computation.
bzr revid: tde@openerp.com-20120719141201-32rl7t40qhzu0ylj
2012-07-19 16:12:01 +02:00
Thibault Delavallée 21c9788aa7 [FIX] email_template: fixed active_mode, active_id and active_ids.
bzr revid: tde@openerp.com-20120716164825-dj5643lgo6fk6j3h
2012-07-16 18:48:25 +02:00
Thibault Delavallée 5fd83d2e80 [IMP] mail: chatter composition form: added a reinitialization of the widget.
bzr revid: tde@openerp.com-20120716135403-xvgc8ew0c62hrv3s
2012-07-16 15:54:03 +02:00
Thibault Delavallée 98f172c523 [IMP] mail: composition form: removed default body_html;
bzr revid: tde@openerp.com-20120716082951-gpn3x9vr514j0a3r
2012-07-16 10:29:51 +02:00
Thibault Delavallée f806af0240 [IMP] mail-Chatter: composition form: improved behavior of 'email_mode' and 'formatting'. They now calls onchange methods, that gives default values for dest_partner_ids, subject and so on. Partners are created when toggling into email mode, if not present in the database, based on the email_from of the document.
bzr revid: tde@openerp.com-20120713142333-y7krivwnybxkjl5b
2012-07-13 16:23:33 +02:00
Thibault Delavallée 5b32dba98f [WIP] mail: composition form: WIP of destionation partner management.
bzr revid: tde@openerp.com-20120712154259-bt4rumkj79xtt7mr
2012-07-12 17:42:59 +02:00
Thibault Delavallée 4d7fc2da17 [IMP] mail: chatter: composition widget now correctly manage default email_mode and formatting values; refactored code related to those options; reply is possible for every message, and formatting and email mode taken into account accordingly.
bzr revid: tde@openerp.com-20120712141857-ll0pf737a2ytobiy
2012-07-12 16:18:57 +02:00
Thibault Delavallée ca3a65040f [IMP] mail.compose.message: when in text mode, remove subject.
bzr revid: tde@openerp.com-20120711143245-io0dwpp8w6dqahvr
2012-07-11 16:32:45 +02:00
Thibault Delavallée 11b452ed00 [FIX] mail compose message: fixed mail thread enabled check.
bzr revid: tde@openerp.com-20120711131404-nythwj4gi3gvk66a
2012-07-11 15:14:04 +02:00
Thibault Delavallée 78ce7b2165 [IMP] mail.compose.message: cleaned code and behavior of embedded composition form.
bzr revid: tde@openerp.com-20120710153316-dbj8d2kb6rynqu22
2012-07-10 17:33:16 +02:00
Thibault Delavallée 8ab1b22d1e [IMP] Chatter: composition form: added 'reply' behavior. Code is still dirty.
bzr revid: tde@openerp.com-20120710130631-nehjl8988ucm6w2n
2012-07-10 15:06:31 +02:00
Thibault Delavallée 4fad550d69 [MERGE] Merged with main addons.
bzr revid: tde@openerp.com-20120709081834-18pf4bol39s50uno
2012-07-09 10:18:34 +02:00
Thibault Delavallée d32c2a2efb [IMP] mail.compose.message wizard: WIP about new behavior.
bzr revid: tde@openerp.com-20120706155141-u1h3y84i5f31ejoo
2012-07-06 17:51:41 +02:00
Thibault Delavallée 3e31df9f17 [IMP] mail_compose_message: cleaned default_get, models and misc.
bzr revid: tde@openerp.com-20120706101130-94bwiswel46qo52b
2012-07-06 12:11:30 +02:00
Thibault Delavallée 7972b399ab [CLEAN] mail: cleaned mail_message.
bzr revid: tde@openerp.com-20120706094141-lwhuk2g4jqlb11yt
2012-07-06 11:41:41 +02:00
Thibault Delavallée 3770835114 [WIP] Chatter: embedded form view: work in progress to make it work.
bzr revid: tde@openerp.com-20120706073852-1j0uj60l64xxrpzk
2012-07-06 09:38:52 +02:00
Raphael Collet 6b1606f8de [IMP] move crm.wizard.mail_compose_message to module mail, to reduce module dependencies on crm
bzr revid: rco@openerp.com-20120703131453-dz0gpdq3t9155bfw
2012-07-03 15:14:53 +02:00
Thibault Delavallée 289dad87d4 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120703122020-79rl9b03mygz5s0h
2012-07-03 14:20:20 +02:00
Jigar Amin - OpenERP d9db3c44df [REN] renamed e-mail, E-mail, E-Mail to email, Email
bzr revid: jam@tinyerp.com-20120625134253-sebauihl53zctcu0
2012-06-25 19:12:53 +05:30
Thibault Delavallée 22f573850c [WIP] Thrad widget: work about the composition form widget.
bzr revid: tde@openerp.com-20120621152428-b6bk3o5su63xy9tm
2012-06-21 17:24:28 +02:00
Thibault Delavallée 931302eca0 [IMP] Thread widget: cleaned links, added reply by e-mail links. Added in mail.compose.message wizard support for a 'message_id' in context have a document with reply behavior. Also cleaned a bit the mail;js code. Updated a detail in a default temporary data in hr_recruitment.
bzr revid: tde@openerp.com-20120510121058-a2emjtvm227603ou
2012-05-10 14:10:58 +02:00
Thibault Delavallée c4addb4d5a [ADD] Thread widget: added a 'reply by email' link. Open the mail.compose.message wizard. WIP: must add default values, such as email_to, ... Will be done asap.
bzr revid: tde@openerp.com-20120420155827-8of3e0i70getenpl
2012-04-20 17:58:27 +02:00
Thibault Delavallée 318ef517ab [REF] mail.message.common model: renamed subtype to content_subtype. Purpose: make a distinction between content and message model. Type and subtype will be used to distinguish messages, content_subtype to distinguish the content itself.
bzr revid: tde@openerp.com-20120420093645-tt78zzrmq2nxomvb
2012-04-20 11:36:45 +02:00
Thibault Delavallée c3ff3c8330 [FIX] mail_compose_message: fixed behavior, now checks if it can use the mail.thread API
bzr revid: tde@openerp.com-20120404085722-5rowaqzj76ta525p
2012-04-04 10:57:22 +02:00
Olivier Dony 86a7978d2d [FIX] mail*: properly handle b64-encoding for attachments
When reading the datas property of an attachment,
a base64-encoded stream is expected.
The mail.message.schedule_with_attach() method OTOH
expects a binary file for attachments, so it should
be decoded if extracted from a binary field.

bzr revid: odo@openerp.com-20120308155650-blnwf7x2bkmsfue2
2012-03-08 16:56:50 +01:00
Olivier Dony 7f44f6b710 [MERGE] mail: gracefully handle missing user signature
bzr revid: odo@openerp.com-20120222112555-5j7cqaimndmc2lew
2012-02-22 12:25:55 +01:00
Stephane Wirtel 9041add81d [FIX] mail: Use a default value if the signature and the subject are empty
bzr revid: stw@openerp.com-20120222095342-nifzjg0ilgd3ln0p
2012-02-22 10:53:42 +01:00
Raphael Collet 41863070c8 [MERGE] mail: fix res_id link when sending an email template
bzr revid: rco@openerp.com-20120126135547-995815mj21zw1jwn
2012-01-26 14:55:47 +01:00
tfr@openerp.com b83128ac09 [FIX] fix res_id link when sending an email template
bzr revid: tfr@openerp.com-20120120130347-fj4a8v3itlwjf2ai
2012-01-20 14:03:47 +01:00
Vo Minh Thu a3c18f3173 [IMP] tools.literal_eval -> ast.literal_eval (as we drop python 2.5 support).
bzr revid: vmt@openerp.com-20120118111855-he177la0butae3jr
2012-01-18 12:18:55 +01:00
Vo Minh Thu a0d18681ee [IMP] import: use `openerp.addons.<module>` instead of `<module>` with __import__.
bzr revid: vmt@openerp.com-20120109131205-6j78jiw4gxxod1s4
2012-01-09 14:12:05 +01:00
Raphael Collet ae9c126ab5 [FIX] mail: wrong passing of parameter context
bzr revid: rco@openerp.com-20111201151423-dmh2539fnc31q0zh
2011-12-01 16:14:23 +01:00
Olivier Dony 39c648126e [FIX] mail.compose.message: do not override with undefined defaults
bzr revid: odo@openerp.com-20110925014759-g3ycy8fgmv1zgg9x
2011-09-25 03:47:59 +02:00
Olivier Dony 186a66ba2d [IMP] mail: more robust model/record passing
bzr revid: odo@openerp.com-20110909155517-0jhk34b0ka2azxgs
2011-09-09 17:55:17 +02:00
Olivier Dony 2e91821bbf [IMP] mail.compose.message: simpler quoting layout for replies
bzr revid: odo@openerp.com-20110907160021-qabhrrei2vw3ycdp
2011-09-07 18:00:21 +02:00
Olivier Dony 1db8e54425 [IMP] all: unified context params for mail composition wizard
A single common `mail.compose.message.mode` key is now
used in the context, avoiding name collisions and being
more consistent.

bzr revid: odo@openerp.com-20110906093228-itbilwzpv4wl07j9
2011-09-06 11:32:28 +02:00
Olivier Dony e9d94b824e [IMP]: crm,mail: minor fixes after review
bzr revid: odo@openerp.com-20110906080014-6texz097jepfrwsp
2011-09-06 10:00:14 +02:00
Olivier Dony b0bed63351 [IMP] mail.thread: renaming methods to avoid collisions with objects that use the mixin
bzr revid: odo@openerp.com-20110823175809-hw81fkptg90702vh
2011-08-23 19:58:09 +02:00
Olivier Dony 8f9f45ea94 [IMP] all: next pass of review/renaming for new mail API
bzr revid: odo@openerp.com-20110822171659-zxho36a6n628i10q
2011-08-22 19:16:59 +02:00
Olivier Dony c996efa2fe [IMP] mail: another pass of cleanup/refactoring of mail features - finish renaming
bzr revid: odo@openerp.com-20110722163457-7g9ngdb2p0bixcst
2011-07-22 18:34:57 +02:00