Commit Graph
56020 Commits
Author SHA1 Message Date
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
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
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
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
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
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
niv-openerp 9818cf073f [IMP] crm: added create_name_field on partner_id in leads
bzr revid: nicolas.vanhoren@openerp.com-20120824172729-4botx8doui5iw1er
2012-08-24 19:27:29 +02:00
niv-openerp 9780532da1 [IMP] changed the way create from m2o works, added option create_name_field
bzr revid: nicolas.vanhoren@openerp.com-20120824172622-evcz7011wlagep4z
2012-08-24 19:26:22 +02:00
niv-openerp 0068c09358 [IMP] web_linkedin: put the wizard into the sales wizard
bzr revid: nicolas.vanhoren@openerp.com-20120824170111-j64d4l8xc6403a2m
2012-08-24 19:01:11 +02:00
niv-openerp 49b3c7b753 [IMP] made the loading messages translatable
bzr revid: nicolas.vanhoren@openerp.com-20120824165449-mfb4ftxnq3vd0p84
2012-08-24 18:54:49 +02:00
Thibault Delavallée 1a3091d10e [MERGE] Merged branch holding a cleaning of code for mail.alias
installation hook for res.users and hr.recruitment
is now delegatede to mail.alias, using the
migrate_to_alias method. The purpose is to
set the alias_id column as required even if
the models are already present in the DB.
Behavior has not been modified; this branch
is only about some code relocation in mail.alias
to avoid duplication.

bzr revid: tde@openerp.com-20120824161556-pf95siqd24e2dlht
2012-08-24 18:15:56 +02:00
Olivier Dony 971756e016 [FIX] crm: correct mass conversion wizard defaults, fixes crm tests
bzr revid: odo@openerp.com-20120824161320-mdfqibfe53v2op79
2012-08-24 18:13:20 +02:00
Thibault Delavallée d19ad1ff4b [TEST] mail: added tests for the composer, includes a first bench of tests for notifications and send emails.
bzr revid: tde@openerp.com-20120824161117-abur02jlgs08my21
2012-08-24 18:11:17 +02:00
Thibault Delavallée d583b98a97 [IMP] mail_followers: moved email creation for emails send for notification into a dedicated method; updated subject and body creation (added default subject, added signature on body).
bzr revid: tde@openerp.com-20120824161038-vhylgsify9f9xder
2012-08-24 18:10:38 +02:00
Thibault Delavallée 6e3ea98e48 [IMP] mail_mail: re-instaured body_alternative, using html2plaintext of tools. Removed some dead imports.
bzr revid: tde@openerp.com-20120824160936-n3fehtgf4f2k0dkn
2012-08-24 18:09:36 +02:00
Thibault Delavallée f6fc11c48b [MERGE] Merged with addons/trunk.
bzr revid: tde@openerp.com-20120824144007-4r11uoy3sux5f7cv
2012-08-24 16:40:07 +02:00
Thibault Delavallée 7423196143 [REVIEW] Updated some variable names to try to be more explicit.
bzr revid: tde@openerp.com-20120824143944-cjm0zwfaldbfztq1
2012-08-24 16:39:44 +02:00
Thibault Delavallée ab6b3cc266 [IMP] Remove some warnings about: alias_force_id -> alias_force_thread_id; type set in view that is not necessayr anymore.
bzr revid: tde@openerp.com-20120824143112-krho3ahvklxcod29
2012-08-24 16:31:12 +02:00
Thibault Delavallée d91979671f [REF] crm_partner_assign: refactored code a bit, following cleaning of mail, because it inherit from mail.compose.message. Removed send_to field, as the new composer is based on partners and simplify this wizard; removed a lot of code about setting email_from, email_to, ... because this should be managed by the other layers of the mail module. Cleaned the code in a more general way to remove weird things. Updated releveant form view, especially about context on Forward button, and the form view of the wizard that has been much simplified.
bzr revid: tde@openerp.com-20120824142000-0jbgvgdiip5475yp
2012-08-24 16:20:00 +02:00
Stephane Wirtel 45cf233538 [FIX] point_of_sale: Hide the has_XXX_control fields in the session
bzr revid: stw@openerp.com-20120824130730-8dqrjjqr7z1stwl5
2012-08-24 15:07:30 +02:00
Stephane Wirtel fe4f647996 [MERGE] point_of_sale: Fix a problem with the buttons in the pos session object, we can close a session if we don't have a closing control
bzr revid: stw@openerp.com-20120824125443-6y4816v3pep1yuxm
2012-08-24 14:54:43 +02:00
Quentin (OpenERP) 6f58426c10 [MERGE] lp: 1015697
bzr revid: qdp-launchpad@openerp.com-20120824124058-pvug7v1auro79w2h
2012-08-24 14:40:58 +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
Minh Tran 4ac06cf5b0 merge from mit-trunk
bzr revid: mit@openerp.com-20120824115821-5fp4ks5ch6czs5vf
2012-08-24 13:58:21 +02:00
Stephane Wirtel ec6bd9c649 [FIX] point_of_sale: Review the buttons for the pos.session object
bzr revid: stw@openerp.com-20120824114300-jdax2175w9mbcb2n
2012-08-24 13:43:00 +02:00
niv-openerp 589eee5f8b [IMP] web_linkedin: changed wizard to have better html output
bzr revid: nicolas.vanhoren@openerp.com-20120824114253-8vbyhlh83vjaf85z
2012-08-24 13:42:53 +02:00
niv-openerp 7c334cfb5a [IMP] Improved css to support semantic html
bzr revid: nicolas.vanhoren@openerp.com-20120824114204-i6qprxhwczkkem6z
2012-08-24 13:42:04 +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
niv-openerp ee8b4c6c64 [IMP] web_linkedin: Added server domain and corrected html display
bzr revid: nicolas.vanhoren@openerp.com-20120824104730-f7p8lqibovjzo3vz
2012-08-24 12:47:30 +02:00
niv-openerp e28ec55117 [IMP] added oe_semantic_html
bzr revid: nicolas.vanhoren@openerp.com-20120824104436-er3w1zdijvcv9j04
2012-08-24 12:44:36 +02:00
Vo Minh Thu 0b464f0882 [FIX] custom models: avoid calling twice __init__, use a correct _rec_name (calling twice __init__ caused the _rec_name to be name which does not exist on a custom model, and caused the assert on the _rec_name to fail.
bzr revid: vmt@openerp.com-20120824104242-wa5jq8h47im79ayd
2012-08-24 12:42:42 +02:00
Thibault Delavallée 18f6fd8990 [FIX] email_template: fixed inherited view.
bzr revid: tde@openerp.com-20120824103845-7g1jzgtcctry6nod
2012-08-24 12:38:45 +02:00
Thibault Delavallée 70b90a2343 [FIX] mail_followers: when sending the notification email, it could be interesting to have something in the body. Well, receiving void emails ensure that your spam is not a time-consuming one, but I am not sure this was the intended purpose.
bzr revid: tde@openerp.com-20120824100451-82crb3j7i0ki2h9h
2012-08-24 12:04:51 +02:00
Thibault Delavallée 36c3a308e6 [TOCHECK] crm_lead: commented statemetns that make no sense abotu changing partner of emails when converting a lead into an oportunity.
bzr revid: tde@openerp.com-20120824100335-1kso3qphdh8piq32
2012-08-24 12:03:35 +02:00
Thibault Delavallée c5cfb049f8 [FIX] Fixed last commit (forgotten a ','), fixed demo data about non-existing fields.
bzr revid: tde@openerp.com-20120824100205-nm4vjw13qx363cb5
2012-08-24 12:02:05 +02:00
Thibault Delavallée 6a386dc762 [FIX] crm_forward_to_partner: to_email is now tools.email_split.
bzr revid: tde@openerp.com-20120824093130-e24hm16pq14x84zb
2012-08-24 11:31:30 +02:00