Commit Graph
56067 Commits
Author SHA1 Message Date
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
Olivier Dony 1dce0b1dc4 [FIX] all mail dependencies: replace message_post call by normal record + review misc wording
bzr revid: odo@openerp.com-20120830141852-ku8nql1sfkko8669
2012-08-30 16:18:52 +02:00
Olivier Dony 06e13555d5 [FIX] mail: simplify test and cleanup some code + fix plaintext signature append
bzr revid: odo@openerp.com-20120830122112-y2lbgcazy0opvbs8
2012-08-30 14:21:12 +02:00
Thibault Delavallée 426e6288f1 [IMP] mail: res_partner: new options in email preferences: emails only. Already taken into accoutn in mail_followers, forgot to commit the change.
bzr revid: tde@openerp.com-20120830085157-2uuffeuyvimjxqke
2012-08-30 10:51:57 +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
Olivier Dony d8c65aa88e [IMP] mail.notification: simplify model creation + some lint cleanup
No need for extra constraints/defaults, in OpenERP
boolean values are `true` and `not true` (false/NULL).

This seems to work well with db indexes too.

bzr revid: odo@openerp.com-20120829164614-9kqrownb7q4vzrjc
2012-08-29 18:46:14 +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 1d131bae84 [RENAME] mail: res.partner: renamed notification_email_pref into notification_email_send, because this pref suffix is very ugly.
bzr revid: tde@openerp.com-20120829114424-fznd0ujsqnk1hve7
2012-08-29 13:44:24 +02:00
Thibault Delavallée 8b910c1f1d [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120829074244-x6u8dnw4owiw93pv
2012-08-29 09:42:44 +02:00
Launchpad Translations on behalf of openerp fcfa02f700 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120829050532-9tyfsc8n79btqrv2
2012-08-29 05:05:32 +00:00
Minh Tran 9575df09ee Merge from mit-trunk
bzr revid: mit@openerp.com-20120828180459-3ttpcs0qjzbi803z
2012-08-28 20:04:59 +02:00
Minh Tran 3ae5a108ab Restyling of project kanban view
bzr revid: mit@openerp.com-20120828180237-w14dhdufbx6dxc2i
2012-08-28 20:02:37 +02:00
Olivier Dony b19d73525d [IMP] mail: implement parent message resolution when parsing incoming message + cleanup lint
bzr revid: odo@openerp.com-20120828173901-8y9y16crvii8d2qg
2012-08-28 19:39:01 +02:00
Antonin Bourguignon d8eb1234a6 [FIX] mail alias: properly fetch inactive users
bzr revid: abo@openerp.com-20120828171853-sgqtft6ox45fcot2
2012-08-28 19:18:53 +02:00
Antonin Bourguignon 715480a9de [FIX] mail alias: properly fetch inactive users
bzr revid: abo@openerp.com-20120828163918-7hexk4xtotqakobm
2012-08-28 18:39:18 +02:00
Thibault Delavallée fe03a7f1ed [FIX] mail_message: fixed _get_unread, because of an unitialized dict; mail_followers: fixed a wrong parameters order.
bzr revid: tde@openerp.com-20120828150244-vcpxj2nroc8esjzk
2012-08-28 17:02:44 +02:00
Fabien Meghazi 03383c7408 [IMP] If any attachment on a record, display 'X Attachment(s)' in sidebar
bzr revid: fme@openerp.com-20120828144613-6a47a4o5iwqb8t0o
2012-08-28 16:46:13 +02:00
Thibault Delavallée a3fbc61638 [FIX] mail_message: fixed a typo.
bzr revid: tde@openerp.com-20120828143754-206i4tg4u8ochmpx
2012-08-28 16:37:54 +02:00
Fabien Meghazi 67ea7a40a4 [FIX] State widget elements overlapping with dropdowns and menus
bzr revid: fme@openerp.com-20120828142935-pdq8zb74f665bznt
2012-08-28 16:29:35 +02:00
Thibault Delavallée c791b22a8c [FIX] [TEST] mail_message: added a flattening method, to flatten the result structure of message according to a given number of thread level. Added some tests that go with that feature.
bzr revid: tde@openerp.com-20120828142634-gfsjjih4mr1n2lyt
2012-08-28 16:26:34 +02:00
Thibault Delavallée 720ddfd5c8 [FIX] mail_message: fixed messages that could be present several times in the result structure of message_read.
bzr revid: tde@openerp.com-20120828131311-1z27oxmgcej9qf4m
2012-08-28 15:13:11 +02:00
Minh Tran 2fb02f4e15 [MERGE] trunk
bzr revid: mit@openerp.com-20120828131240-24t2374v60jn202w
2012-08-28 15:12:40 +02:00
Stephane Wirtel fc01690a94 [MERGE] Remove the pychart library, use the online version via pypi or the package manager
bzr revid: stw@openerp.com-20120828130721-gnwdldquz6ywkwby
2012-08-28 15:07:21 +02:00
Thibault Delavallée d7a6f580d8 [CLEAN] mail_thread: removed an unused method; misc clean.
bzr revid: tde@openerp.com-20120828125522-4pt7j97qfuj8c0bw
2012-08-28 14:55:22 +02:00
Fabien Meghazi 232a51901c [FIX] When drag&dropping a card in kanban view, the record is opened under Firefox.
bzr revid: fme@openerp.com-20120828123906-mc9pbcwb6tiv8da1
2012-08-28 14:39:06 +02:00
Fabien Pinckaers 393b477ffe [IMP] product form improvement
bzr revid: fp@tinyerp.com-20120828120732-e2wg7kst61swskxc
2012-08-28 14:07:32 +02:00
Thibault Delavallée 115e6f9687 [IMP] [TEST] mail.notification: added an SQL constraint on mail.notification, to have default false value on read column even when writing into the table using write on the partner_ids column of mail.message (therefore by-passing the default_get of the orm for mail_notification model). Added tests for needaction, based on mail.message, that by the way helped trigerred this bug. Hooray.
bzr revid: tde@openerp.com-20120828113128-70gjunh6bx3pho30
2012-08-28 13:31:28 +02:00
Minh Tran 1106c7cdd4 merge from trunk
bzr revid: mit@openerp.com-20120828112510-5hverqp1564c0g7u
2012-08-28 13:25:10 +02:00
Thibault Delavallée 481bdd269f [IMP] mail.message: added an 'unread' functional searchable field. This field is used to replace the buggy needaction_domain_get on mail.message (having 2 notifications with 1/ correct partner 2/ unread could lead to false needaction, because of verified domain. The domain is now based on the unread field, that computes unread messages for the user. To avoid having too much overhead, it has been implemented directly in sql.
bzr revid: tde@openerp.com-20120828095323-3tb01d7vaoa0m9rb
2012-08-28 11:53:23 +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
Launchpad Translations on behalf of openerp 4e31d1be93 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120828064335-bftlutj6aiymztbp
bzr revid: launchpad_translations_on_behalf_of_openerp-20120828072410-7ndsu3tnyrjhtuor
2012-08-28 07:24:10 +00:00
Launchpad Translations on behalf of openerp 8a79542d29 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120828055452-vim5zth19odzs439
2012-08-28 05:54:52 +00:00
Fabien Pinckaers 420a4811b9 [IMP] remove OpenERP Enterprise old code
bzr revid: fp@openerp.com-20120827213212-cjhnn33eqnrn8mk1
2012-08-27 23:32:12 +02:00
Fabien Pinckaers 95aec10efe merge
bzr revid: fp@openerp.com-20120827212610-roc220otwi7y6wd2
2012-08-27 23:26:10 +02:00
Fabien Pinckaers e6f5e42bd0 [IMP] correct address format
bzr revid: fp@openerp.com-20120827211839-fvpami4gt0rvy231
2012-08-27 23:18:39 +02:00
Thibault Delavallée f4deb95339 [REV] mail_message: reverted changes on message_read, back to its fist version, except limit that is more usable than an hardcoded one. Added some tests that crash, because message_read is really wrong.
bzr revid: tde@openerp.com-20120827162237-eljqnvenwy0xv5dc
2012-08-27 18:22:37 +02:00
Thibault Delavallée 80a73e7237 [FIX] sale: fixed demo data. Added a protection against void body in final body creation.
bzr revid: tde@openerp.com-20120827153257-astw7738j6qdqc8l
2012-08-27 17:32:57 +02:00
Thibault Delavallée 4d510a3d31 [REF] mail_thread: message_read: re-added old expandable, to have same behavior as 'beofre in this branch'.
bzr revid: tde@openerp.com-20120827150303-ena57f72e3mgwtg2
2012-08-27 17:03:03 +02:00
Thibault Delavallée dc5b8efdf7 [IMP] mail: moved tree formation in message_read in a dedicated method; added / fixed some tests. Note that tests for message_read will have to be added.
bzr revid: tde@openerp.com-20120827144753-csoho4iz34f6zpy1
2012-08-27 16:47:53 +02:00
Olivier Dony 682168e202 [REVERT] Revert hasty commit r.2976 - wreaks havoc on many views by revealing <li> bullets everywhere
bzr revid: odo@openerp.com-20120827140310-zzp1kmtulvenuamo
2012-08-27 16:03:10 +02:00
Thibault Delavallée 5ae69cb1ac [FIX] hr_timesheet_sheet: fixed data (message_append_post does not exist, probably a merge hiatus).
bzr revid: tde@openerp.com-20120827120117-hwbsrrokyur3uch8
2012-08-27 14:01:17 +02:00
Thibault Delavallée a22a5abd9e [IMP] portal, mail, crm: misc fixes of demo data.
bzr revid: tde@openerp.com-20120827102941-l213uv3sdt9mfq5c
2012-08-27 12:29:41 +02:00
Thibault Delavallée 76fe68b637 [FIX] project: fixed demo data (user_id -> author_id; BTW user_qdp is not always present I think, changed author to demo user).
bzr revid: tde@openerp.com-20120827101741-i9iooz6r0ht02dsi
2012-08-27 12:17:41 +02:00
Thibault Delavallée 1491a9f136 [REF] mail: mail_mail views are now in mail_mail_view.xml file.
bzr revid: tde@openerp.com-20120827101659-9i1c0rcep4ixzxpb
2012-08-27 12:16:59 +02:00
Thibault Delavallée 9e3184ad33 [CLEAN] mail_message: get_record_name and name_get now use a dedicated function to truncate names. Moved arbitrary '18' into a variable.
bzr revid: tde@openerp.com-20120827094228-xl2i88lhqgn0fw04
2012-08-27 11:42:28 +02:00
Thibault Delavallée 3d78cacd44 [FIX] base_calendar: fixed a typo in crm_meeting_view added when merging trunk.
bzr revid: tde@openerp.com-20120827092824-ic9v3ug6ljyqeip1
2012-08-27 11:28:24 +02:00
Thibault Delavallée b5cd423bca [FIX] Chatter: tried to fix the display on Wall / document.
bzr revid: tde@openerp.com-20120827085145-7v4l5cz6u7lhsajw
2012-08-27 10:51:45 +02:00
Thibault Delavallée 4b0d1be1c0 [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120827083705-p2edynkzch7hszrd
2012-08-27 10:37:05 +02:00
niv-openerp 65f532e001 [IMP] made a whole-application replace of $element by $el
bzr revid: nicolas.vanhoren@openerp.com-20120824182743-1d9cii7kigc7exer
2012-08-24 20:27:43 +02:00
niv-openerp 5e338c591a [IMP] made a whole-application replace of $element by $el
bzr revid: nicolas.vanhoren@openerp.com-20120824182707-vt91ef40ieeudwyw
2012-08-24 20:27:07 +02:00