Commit Graph

3882 Commits

Author SHA1 Message Date
Jamin Shah (OpenERP) d9423585d5 [FIX]Fixed the issue of mimetype not detected properly, used python mimetypes module to detect file's mimitype.
bzr revid: jas@tinyerp.com-20140414052904-rp4oia2py6b61xg8
2014-04-14 10:59:04 +05:30
Launchpad Translations on behalf of openerp e82fbf7d91 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140412083153-3ona1js7o6z421vg
2014-04-12 08:31:53 +00:00
Thibault Delavallée bf7c16d6d9 [FIX] mail: res_users post: fixed partner_ids computation, could receive
a list of ids, or a list of commands. Both cases should be taken into account.

bzr revid: tde@openerp.com-20140411142842-kw0x1vrop6x6i5kf
2014-04-11 16:28:42 +02:00
Olivier Dony fb19b54ff9 [MERGE] Forward-port of 7.0 bugfixes up to rev 9976 rev-id: odo@openerp.com-20140411142429-y0rpkzqbrsabxqsg
bzr revid: odo@openerp.com-20140411142800-t8sbcmfkj3qgmrh3
2014-04-11 16:28:00 +02:00
Olivier Dony 9861b5cada [FIX] mail.thread: avoid overwriting thread_id/model with foreign values when reply-to hostname does not match + fix tests
This improve previous commit by making sure we
never consider the thread_id/model values in the
In-Reply-To/References header if the host name
did not match.
Also fixes the tests that were using the
6.1 compatibility mode to post in a mail group
thread instead of specifying the right
message-id.

bzr revid: odo@openerp.com-20140411142429-y0rpkzqbrsabxqsg
2014-04-11 16:24:29 +02:00
Thibault Delavallée e2dc6b782d [FIX] mail: avoid crashing message_post if the subtype does not exists anymore.
Using xmlid_to_res_id, subtype_id will be False if not found.

bzr revid: tde@openerp.com-20140411142214-nvvgkduzv51cc2eg
2014-04-11 16:22:14 +02:00
Cedric Snauwaert 89d665aa79 [FIX]some cosmetic of code
bzr revid: csn@openerp.com-20140411122840-tv1mx2nu5p2is669
2014-04-11 14:28:40 +02:00
Olivier Dony 4ed8413dc7 [FIX] mail.thread: avoid wrongly matching model,id from a foreign OpenERP system
When emails transit from an OpenERP system to another
there is a chance of wrongly considering the foreign
model,id pair as local, possibly attaching a reply
to a wrong parent message.
This naive heuristic ignore the foreign identifiers
unless the hostname of the message-id mentioned in
the In-Reply-To header matches the local one.
This may fail after a change of local hostname but
is still better than the alternative.
In OpenERP v8 we should stop including the model,res_id
in outgoing Message-Id headers and only rely on the
stored, opaque, unique Message-Ids, preventing
any future mismatch.

bzr revid: odo@openerp.com-20140411101349-h3jmkdzvbr7lut26
2014-04-11 12:13:49 +02:00
Thibault Delavallée 94c580e933 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140411075551-xh4o3k3172cr7scz
2014-04-11 09:55:51 +02:00
Cedric Snauwaert 3a4e264978 [FIX]use bootstrap modal windows. refactor and cleaned from trunk-ui-to-boostrap-modal
bzr revid: csn@openerp.com-20140410155022-3cqys3zc55idc4vg
2014-04-10 17:50:22 +02:00
Jitendra Prajapati (OpenERP) 76d284ab8e [IMP]set python string is translated
bzr revid: jpr@tinyerp.com-20140410083655-6m993y17nckk7mfz
2014-04-10 14:06:55 +05:30
Amit Vora cfbd8ae9f8 [IMP] change field name notificatio_email_send to notify_email and none selection key instead of never
bzr revid: avo@tinyerp.com-20140409101604-1l8ltrcpjps8pazi
2014-04-09 15:46:04 +05:30
Thibault Delavallée d834e1b66d [IMP] mail: jump to the Messaging menu after installation
bzr revid: tde@openerp.com-20140409074730-eirq7st1ya6g0ooc
2014-04-09 09:47:30 +02:00
Thibault Delavallée 7a1221c9f3 [MERGE] [IMP] mail: followers widget: Follow button + subtypes are now displayed
like a button + a dropdown selection for subtypes, reducing the place this widget
takes in the form view.

bzr revid: tde@openerp.com-20140409074712-pn3nqpga1mxaa3ie
2014-04-09 09:47:12 +02:00
Thibault Delavallée 8178669795 [FIX] mail, mass_mailing
- mail: now trigger postprocess_sent_message in every case, being sent or not, as the state
is propagated in the method; udpated all addons accordingly;
- email_template: fixed URL to edit it in website + form view;
- mass_mailing: barchart now send jsonified value;
- mass_mailing: tweaking the form view with all options

bzr revid: tde@openerp.com-20140408124053-o9tb14k6v47s5mjd
2014-04-08 14:40:53 +02:00
Thibault Delavallée efe75bd7e8 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140407102446-zw8g9736vrioxpta
2014-04-07 12:24:46 +02:00
Launchpad Translations on behalf of openerp 8f174e13bd Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140404070722-99m3lomg172fzapc
bzr revid: launchpad_translations_on_behalf_of_openerp-20140404070759-302tyo6k09v8arhz
2014-04-04 07:07:59 +00:00
Launchpad Translations on behalf of openerp 1d965535b0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140405053045-3cts3jqyeqsu0x57
2014-04-05 05:30:45 +00:00
Thibault Delavallée 1380f597a2 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140403122027-3w055e5olf23dzw9
2014-04-03 14:20:27 +02:00
Jitendra Prajapati (OpenERP) 7d06600a77 [MERGE]with main branch
bzr revid: jpr@tinyerp.com-20140403093632-rdnixbj5vulsoppy
2014-04-03 15:06:32 +05:30
Launchpad Translations on behalf of openerp 4612b417af Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140403060213-netdplm9jzfr9yy6
2014-04-03 06:02:13 +00:00
Launchpad Translations on behalf of openerp 16ce262c33 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140329073038-m7q4sxpb8tprh00r
bzr revid: launchpad_translations_on_behalf_of_openerp-20140330061549-r3t0pecngy76c2rw
bzr revid: launchpad_translations_on_behalf_of_openerp-20140331064021-x3wjc8s4oa0ncq95
bzr revid: launchpad_translations_on_behalf_of_openerp-20140401065325-w3viflz7c33n4uis
bzr revid: launchpad_translations_on_behalf_of_openerp-20140402064459-d7e3d8nwo8famjh6
2014-04-02 06:44:59 +00:00
Fabien Pinckaers 6a9379429c [IMP] kanban of documents for recruitement attachments
bzr revid: fp@tinyerp.com-20140401164700-xj1d5hn9zv8morfu
2014-04-01 18:47:00 +02:00
Fabien Pinckaers 0b539587b8 [IMP] kanban view for ir.attachments
bzr revid: fp@tinyerp.com-20140401164322-fq3r0pt6idkoobxx
2014-04-01 18:43:22 +02:00
Amit Vora 28a96d2651 [MRG] merge with main branch
bzr revid: avo@tinyerp.com-20140401091041-bvxtr58qkgicl6x8
2014-04-01 14:40:41 +05:30
Darshan Kalola (OpenERP) ad2984f564 [IMP]disabled dropdown button when there is no item in dropdown.
bzr revid: dka@tinyerp.com-20140331073100-qexuumfnynssfto1
2014-03-31 13:01:00 +05:30
Darshan Kalola (OpenERP) 92875602b4 [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140328131834-1bhu74vaihxvp0sb
2014-03-28 18:48:34 +05:30
Thibault Delavallée f002d9ff17 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140327093823-ev9mv771enwmdgrz
2014-03-27 10:38:23 +01:00
Launchpad Translations on behalf of openerp 51aa261b44 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140327073504-l0fydwct329jhirh
2014-03-27 07:35:04 +00:00
Jitendra Prajapati (OpenERP) 0178fa1fa6 [MERGE]with main branch
bzr revid: jpr@tinyerp.com-20140327062643-wcrsh4q9fwzhm2wz
2014-03-27 11:56:43 +05:30
Thibault Delavallée cafaf60552 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140326092649-nihnbi9wv8j07jth
2014-03-26 10:26:49 +01:00
Thibault Delavallée 283ce860fc [REM] mail: removed dead code in mail.js
bzr revid: tde@openerp.com-20140325142535-rptr14zfxf8ctx27
2014-03-25 15:25:35 +01:00
Thibault Delavallée d70538402b [REM] mail: removed dead code in mail_message
bzr revid: tde@openerp.com-20140325142507-9vgzcyfno750ungz
2014-03-25 15:25:07 +01:00
Thibault Delavallée 73bebb6563 [IMP] mail: default recipients management
- mail.compose.message: in render_message_batch, compute defaults recipients
for the composer (method called for mass mailing only). This way values are
available for inheriting models.

bzr revid: tde@openerp.com-20140325135347-9v7u4uokffy7ud43
2014-03-25 14:53:47 +01:00
Thibault Delavallée 7185a68775 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20140325090209-w1qtcswiao01gqlu
2014-03-25 10:02:09 +01:00
Christophe Simonis d93b79e6f4 [MERGE] forward port of branch saas-3 up to revid 9345 dle@openerp.com-20140324110349-e82t1bmmtjqbl85k
bzr revid: chs@openerp.com-20140324133811-4az1kvbznd26seow
2014-03-24 14:38:11 +01:00
Thibault Delavallée 79cb083a62 [IMP] mail: mail_compose_message: some code
cleaning in get_record_data + code cleaning in get_mail_values + management
of the previously introduced method get_default_recipients, to be sure that
in mass mailing an email is effectively sent to a customer / lead / applicant
/ ... because with an ill-configured template, you could have mass amiling
mailing nobody.

bzr revid: tde@openerp.com-20140321171723-7e3lk64knojf09at
2014-03-21 18:17:23 +01:00
Thibault Delavallée 71b146d0ad [IMP] mail: mail_thread: added a method that try to find
some default recipients for a document. Basically it looks for a partner_id field,
or an email_from, or an email field, and return a dict result used for populating
a creation dictionary, for example.

bzr revid: tde@openerp.com-20140321171615-ksce5mqzyugya8hs
2014-03-21 18:16:15 +01:00
Thibault Delavallée dc33134b02 [FIX] mail: fixed a test using a field tha does not exist anymore
bzr revid: tde@openerp.com-20140321171514-fp1amjhmn63vr0qg
2014-03-21 18:15:14 +01:00
Thibault Delavallée 2e02338a2b [IMP] mail_mail: small code and docstrings cleaning + moved some code into
its own method (find email_to) + set email_to as 'Followers of X' only when having
a notification-style mail_mail.

bzr revid: tde@openerp.com-20140321171455-gz0q3eo0fbato50k
2014-03-21 18:14:55 +01:00
Thibault Delavallée adca4573c6 [DOC] mail: updated docstring of a method taht was not up to date
bzr revid: tde@openerp.com-20140321123029-kbfy73ecxidshnnb
2014-03-21 13:30:29 +01:00
Chirag Dodiya (OpenERP) fa30038c2c [MRG]Merge with lp:openobject-addons
bzr revid: cod@tinyerp.com-20140321050817-31v8k14za5w60pjh
2014-03-21 10:38:17 +05:30
Thibault Delavallée 2bc87a67eb [IMP] mail_group: as they are now mailing list, avoid having automatic
creation message, this is quite ugly.

bzr revid: tde@openerp.com-20140320150855-a0ich2zgzn320wj0
2014-03-20 16:08:55 +01:00
Chirag Dodiya (OpenERP) 9950cdde14 [MRG]Merge with lp:openobject-addons
bzr revid: cod@tinyerp.com-20140320113507-d1mfk36e1ux6b7s0
2014-03-20 17:05:07 +05:30
Launchpad Translations on behalf of openerp 1f3c4f852f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140319063002-sd17jxb37ycogrrz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140320061944-bwpy0lt1bp5ee0y2
2014-03-20 06:19:44 +00:00
Jitendra Prajapati (OpenERP) f81c4ec36e [MERGE]with main branch
bzr revid: jpr@tinyerp.com-20140319051202-hvo8wvd8aunce5bc
2014-03-19 10:42:02 +05:30
Kersten Jeremy 758d467982 [FIX] In mail text2Html, replace url (http or ftp) before the replacement of return line, else some return line was sometimes considered as the link.
Eg : <a href="http://www.google.com<br/><br/>Puis">http://www.google.com<br/><br/><br/>Puis</a>

bzr revid: jke@openerp.com-20140318203051-lk92fjgwltkwbk68
2014-03-18 21:30:51 +01:00
Thibault Delavallée 0417efb59d [MERGE] Sybnc with trunk
bzr revid: tde@openerp.com-20140318164208-a1d66czkki6on3ca
2014-03-18 17:42:08 +01:00
Thibault Delavallée a581d864a2 [IMP] mass_mailing: improved test send / send to all
- now workign on various models, taking the correct recipient (email, partner_id for partner or lead)
- improved test send: use email_to, now a many2many on contact model to ease the use of templates
- added action to create a mailing list from leads
- moved a res.partner dedicated action to its own file
- added an actoin to create a mailing list from contacts
- fixed mail_mail post_process: use mail_sent variable as mail.state is not available

bzr revid: tde@openerp.com-20140318164117-f2aou25u633j8m57
2014-03-18 17:41:17 +01:00
Christophe Simonis 99a3c45976 [MERGE] forward port of branch saas-3 up to revid 9328 chs@openerp.com-20140318120024-mcxmkncn1xktjs7v
bzr revid: chs@openerp.com-20140318132741-aur3q1k7t9iympri
2014-03-18 14:27:41 +01:00
Thibault Delavallée 86934c1167 [FIX] mail_compose_message: hide recipients data if False to avoid blank lines
bzr revid: tde@openerp.com-20140317132243-7cy089m8thd29y3l
2014-03-17 14:22:43 +01:00
Thibault Delavallée 43cc054048 [FIX] mail_compose_message: create Re subject only when having a parent
bzr revid: tde@openerp.com-20140317132227-mcey6ywjr1g6pe9g
2014-03-17 14:22:27 +01:00
Thibault Delavallée d5a8905941 [IMP] mail_compose_message: added is_log boolean field for internal notes; + removed context hack that
did the same thing. Fixed composer form view: internal note, only subject + body is
displayed.

bzr revid: tde@openerp.com-20140317122409-5fd5d5uwc35oq0hb
2014-03-17 13:24:09 +01:00
Thibault Delavallée 48deceb6c6 [IMP] [REF] mail_compose_message: slightly cleaned wizard code to lessen the number of corner cases and
to remove unnecessary code.
post and filter_id fields have been removed as they are not necessary.
Updated tests accordingly to new mass mailing tests: mass mailing create
emails, no message_post anymore using followers.

bzr revid: tde@openerp.com-20140317115315-ws8dvjbiv5rspk43
2014-03-17 12:53:15 +01:00
Thibault Delavallée 48098b5df1 [IMP] mail.compose.message: removed unnecessary code, email_from is already corretly managed
bzr revid: tde@openerp.com-20140314174827-nent5v02s2v2y2n0
2014-03-14 18:48:27 +01:00
Thibault Delavallée 95284e1ecf [CLEAN] mail_mail: lean cleaning
bzr revid: tde@openerp.com-20140314174809-t66z5pjxwu1izh6a
2014-03-14 18:48:09 +01:00
Thibault Delavallée ed116d6b6b [IMP] mail_message: avoid doing search criterions on subtype_ids, takes long time
bzr revid: tde@openerp.com-20140314171658-9zbji55or9dq761p
2014-03-14 18:16:58 +01:00
Thibault Delavallée 4b5b4e86d7 [REM] mail_message: removed dead code: quote context is not planned
to be used anymore.

bzr revid: tde@openerp.com-20140314171213-0v3t7c1akbviu99e
2014-03-14 18:12:13 +01:00
Thibault Delavallée 4ef08f78a0 [REM] mail_message: removed dead code
bzr revid: tde@openerp.com-20140314171054-859jix3el18i0g53
2014-03-14 18:10:54 +01:00
Thibault Delavallée fd85a00311 [MERGE] Merged prototyping branch about improving performances
in messaging, especially for mass mailing and mail mail creation. Some things will
probably be discarded or improved further, but this work will serve as a basis
for the whole mass mailing refactorign about speed.

bzr revid: tde@openerp.com-20140314165621-stpmdbq92fbigc3u
2014-03-14 17:56:21 +01:00
Thibault Delavallée e6f6960d17 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140314162124-fn8f9ne80skha19h
2014-03-14 17:21:24 +01:00
Christophe Simonis b3bb47076b [MERGE] forward port of branch saas-2 up to revid 9151 chs@openerp.com-20140314104803-19c5snl2fcuih91o
bzr revid: chs@openerp.com-20140314105753-7a7wh9a1z99azgfj
2014-03-14 11:57:53 +01:00
Denis Ledoux 02459f8d4a [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9929 revid:dle@openerp.com-20140325104921-x8zjx5p71l1o3uif
bzr revid: dle@openerp.com-20140310133913-465x5t3n1bo7fu98
bzr revid: dle@openerp.com-20140311164146-2s599kogbqj8e94l
bzr revid: dle@openerp.com-20140312111149-u6y036aej3ywq7et
bzr revid: dle@openerp.com-20140312121145-06s1jvct9v4m7l6s
bzr revid: mat@openerp.com-20140313084409-c0kckxemy3in0mlo
bzr revid: chs@openerp.com-20140313163420-ifa4hyixj722d6jo
bzr revid: chs@openerp.com-20140314102034-g0nzryvwhrpzdas9
bzr revid: chs@openerp.com-20140314104803-19c5snl2fcuih91o
bzr revid: odo@openerp.com-20140314143519-x6rzcfkkqxwc0e1g
bzr revid: chs@openerp.com-20140318110229-y8098w3shdpmoig2
bzr revid: dle@openerp.com-20140318151824-sscl4m8p87emjl8s
bzr revid: dle@openerp.com-20140320112618-yfyihlwz66ryeqf5
bzr revid: dle@openerp.com-20140320161003-j01cc6sqves2wnp2
bzr revid: dle@openerp.com-20140320181252-4gqcog22p1ex0pz7
bzr revid: dle@openerp.com-20140321140450-8ulnhr76qybiadks
bzr revid: dle@openerp.com-20140324104743-ubvu8st7emq9pg1q
bzr revid: dle@openerp.com-20140325112413-xs5z7y81rhyjt0rd
2014-03-25 12:24:13 +01:00
Olivier Dony 9e002d9233 [FIX] mail.thread: avoid error if `message_unread_count` has been popped 1 line earlier
bzr revid: odo@openerp.com-20140314104605-qi7eqj2g37dvxvc3
2014-03-14 11:46:05 +01:00
Christophe Simonis 44a99c0976 [FIX] calendar: correct recurrency end date computation
bzr revid: chs@openerp.com-20140314094809-0wuus62tob8vtyi0
2014-03-14 10:48:09 +01:00
Christophe Simonis d504764eff [MERGE] forward port of branch saas-3 up to revid 9298 chm@openerp.com-20140311130852-3ft0v1mc9ht1any6
bzr revid: chs@openerp.com-20140311145205-s56fj113fsrnisc3
2014-03-11 15:52:05 +01:00
Martin Trigaux 5fd51cd41b [MERGE] [FIX] mail: make subject of invitation wizard translatable
bzr revid: mat@openerp.com-20140307090923-28r81taey0sdtfy0
2014-03-07 10:09:23 +01:00
Darshan Kalola (OpenERP) 5b71151c08 [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140306051229-jf23n85t506ep2av
2014-03-06 10:42:29 +05:30
Thibault Delavallée 0d3d0e9563 [IMP] mail: improved link in notification, now of form
Sent from <company> using <openerp:pub>, about <model document_name>, access in <customer portal:partner only>

bzr revid: tde@openerp.com-20140305173610-yw71rophyt3iyfi4
2014-03-05 18:36:10 +01:00
Thibault Delavallée 307119bd55 [IMP] mail: message_last_update -> message_last_post + only update when having a subtype
bzr revid: tde@openerp.com-20140305094042-6f1cne3srq7y1ffn
2014-03-05 10:40:42 +01:00
Thibault Delavallée 72fac9527e [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140305085545-0uy3b0k71hkqe20j
2014-03-05 09:55:45 +01:00
Thibault Delavallée b54b8681a0 [MERGE] [ADD] crm_project_issue module: create issues from leads.
This bridge and optional module add a button on the lead form view to
allow users to create issues from leads. The lead is distroyed during
the operation. All communication history is kept and transferred to the
new issue.

bzr revid: tde@openerp.com-20140304170544-kp624l6vhj0s1rwc
2014-03-04 18:05:44 +01:00
Thibault Delavallée db2bdee343 MERGE] [FIX] email_template: fix relative -> absolute url conversion
Local URLs are converted into absolute URLs, notably because when using the
email designer, images are added using local URLs. Previously to this fix
the template was analyzed to find local URLs and make them absolute.
However this causes 2 issues :
- mako-based URLs are broken because a scheme is added before the mako that
generated the image src
- when changing the base url, the templates are not updated
The URLs are now converted dynamically when generating the content of the
html. This is done by passing a new parameter that enable the post processing
of the generated content.
Also fixed double body generation when using templates; fields parameter
was not propagated correctly.

bzr revid: tde@openerp.com-20140304112957-l9b10gyjqphs5fgc
2014-03-04 12:29:57 +01:00
Launchpad Translations on behalf of openerp b201dc79b7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140218054104-8egkh4jj7hiiwuih
bzr revid: launchpad_translations_on_behalf_of_openerp-20140219054048-688twg0fubtm2x2q
bzr revid: launchpad_translations_on_behalf_of_openerp-20140220054214-237ri67t9rw3l4fu
bzr revid: launchpad_translations_on_behalf_of_openerp-20140221063855-wniw42r27gyg3h6y
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222073328-xpn7nwqz407yzumq
bzr revid: launchpad_translations_on_behalf_of_openerp-20140223074516-0r09cpmma58ylqji
bzr revid: launchpad_translations_on_behalf_of_openerp-20140224060319-535oheaq2w9u2ye3
bzr revid: launchpad_translations_on_behalf_of_openerp-20140225062420-zl7curej0e0warhz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140226073146-3vzhw4hddr81olbs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140227062959-24e2rn98rqb9afpr
bzr revid: launchpad_translations_on_behalf_of_openerp-20140228072152-f9gm4ud1wu19ge27
bzr revid: launchpad_translations_on_behalf_of_openerp-20140301055205-r0df0fqz9yf5z66i
bzr revid: launchpad_translations_on_behalf_of_openerp-20140302052638-bjf11oumy7w15oco
bzr revid: launchpad_translations_on_behalf_of_openerp-20140304082704-k1z2te1tfud43zy3
2014-03-04 08:27:04 +00:00
Launchpad Translations on behalf of openerp 9863dbe5c8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140304075238-yra39uwmwahmrnf3
2014-03-04 07:52:38 +00:00
Christophe Simonis 47c4728f43 [FIX] mail,website_sale: rename file_type to file_type_icon to avoid name conflict with file_type field added by document module
bzr revid: chs@openerp.com-20140228142233-i0mm9lav0czbydkk
2014-02-28 15:22:33 +01:00
Thibault Delavallée 11e0e64769 [FIX] mail: notification url: only web, not login
bzr revid: tde@openerp.com-20140226170002-ndr090idip3cyx3n
2014-02-26 18:00:02 +01:00
Jérôme f664ff2ace [FIX] : tde's last remark correction
bzr revid: jem@openerp.com-20140226164521-gccablfi8b6e36qr
2014-02-26 17:45:21 +01:00
Darshan Kalola (OpenERP) 7dc413070c [IMP]mail_follower:closed dropdown when there is no child element in ul.
bzr revid: dka@tinyerp.com-20140225045142-fg6qbnlvl4ylys0k
2014-02-25 10:21:42 +05:30
Thibault Delavallée dd99c96ca2 [CLEAN] mail: some code cleaning in the modifications
bzr revid: tde@openerp.com-20140224142236-l61eqddc4vq9y861
2014-02-24 15:22:36 +01:00
Thibault Delavallée 4739eb138b [IMP] mail, email_template: still continuing work to improve performances of mass mailing.
main differences :
- record_name is not a function field anymore, but a char field + a method in create
if not given (default-like, but dependent of other values). This allows the composer
to give a value for record_name (False for email mass mailing) to avoid browsing
records and having their access rights issues in the way
- author_id, email_from coming from composer instead of called in every mail.message
creation
- moved code dealing with attachments from send_mail to get_mail-values, to that at
the end of this method we know all values of the email

Some tests have been updated / temporarily disabled.

bzr revid: tde@openerp.com-20140224132038-txdi0g30a7fzbnxp
2014-02-24 14:20:38 +01:00
Darshan Kalola (OpenERP) a2cbf7ee1b [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140224112504-3b0f36x0nw3rmj7e
2014-02-24 16:55:04 +05:30
Darshan Kalola (OpenERP) dad39a22d6 [IMP]solved Error Cannot read property 'target' of undefined.
bzr revid: dka@tinyerp.com-20140224105249-lr50s4x6bvhbl1tx
2014-02-24 16:22:49 +05:30
Darshan Kalola (OpenERP) 068c1be14c [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140224101844-2k8p1j86ngybtvw4
2014-02-24 15:48:44 +05:30
Darshan Kalola (OpenERP) 8bf832b259 [IMP]improved spacing.
bzr revid: dka@tinyerp.com-20140224100758-ibz8u54u7sv68yqz
2014-02-24 15:37:58 +05:30
Darshan Kalola (OpenERP) 37a119cbc8 [IMP]mail_follower:improved subtype selection event to keep dropdown list open untill click outside of dropdown or on the follow/unfollow button.
bzr revid: dka@tinyerp.com-20140224094951-hixzix3ptl6f2g5e
2014-02-24 15:19:51 +05:30
Thibault Delavallée 4a284821b4 [MERGE] Sync with trunnk
bzr revid: tde@openerp.com-20140221145716-vkusdgd56rnc85rl
2014-02-21 15:57:16 +01:00
Thibault Delavallée d7c974aa5b [MERGE] [IMP] mail: subtype: order by application + allow to hide technical subtypes + updated addons subtypes
- mail.message.subtype:
-- added sequence field, used to order subtypes when displaying them
-- added hidden field, used to hide some subtypes. Subtypes like 'Task Created' or 'Issue Created' are not necessary on a task or issue, but useful on the project form view. Indeed by following the task created subtype on the project, the user is notified of new tasks. However on the task itself it makes no sense to be able to follow task created. This subtype has to exist due to the technical implementation, but should be hidden in the followers widget of the task.
- mail: updated followers widget accordingly, and display subtypes by application with a visual border to separate them

- project, crm, sale_crm: updated hidden and sequence of subtypes

bzr revid: tde@openerp.com-20140221122036-m30laylmb4tqndkh
2014-02-21 13:20:36 +01:00
Thibault Delavallée 0b21db907e [MERGE] Sync with trunk, because trunk was broken at last update
bzr revid: tde@openerp.com-20140221115207-oussz4cxss9u99vw
2014-02-21 12:52:07 +01:00
Thibault Delavallée 587c8474b0 [FIX] mail: fixed regression caused by forward-porting saas-3: re-removed
the hack in mail_thread about subscription in create mode.

bzr revid: tde@openerp.com-20140221113919-3b51stz2u9rj4kcz
2014-02-21 12:39:19 +01:00
Thibault Delavallée d3ea25c0ba [IMP] crm: added sequence on subtypes
bzr revid: tde@openerp.com-20140221112915-1o9pk3gjohtl558w
2014-02-21 12:29:15 +01:00
Thibault Delavallée 6813592da8 [IMP] mail: subtype model: cleaning + improved form view to add the new fields
bzr revid: tde@openerp.com-20140221112904-ijgkqy5zhco5a9i4
2014-02-21 12:29:04 +01:00
Thibault Delavallée e2eb37efe2 [IMP] mail: do not fetch hidden subtypes in follower widgets
bzr revid: tde@openerp.com-20140221112816-xhtc97az72ip355o
2014-02-21 12:28:16 +01:00
Thibault Delavallée 09c90c3a53 [ADD] mail: mail_message_subtype: add a hidden field, to hide some subtypes from
the followers widget. This will be used to hide the created
subtype on the task or issues for example, while still available
on the related project. The subtype on the task is necessary
to trigger the various autosubscription and notification mechanisms
but its display on task/issue is not.

bzr revid: tde@openerp.com-20140221102823-ca1bvw3qi9kf61uq
2014-02-21 11:28:23 +01:00
Thibault Delavallée fc7f21e4bf [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140221102322-oi7wa2sc3867g81d
2014-02-21 11:23:22 +01:00
Darshan Kalola (OpenERP) b69271064b [MERGE]sync with trunk and resolve conflicts.
bzr revid: dka@tinyerp.com-20140221045744-hopnxp3mj9z7vz0j
2014-02-21 10:27:44 +05:30
Darshan Kalola (OpenERP) 1e16c40ab0 [IMP]mail_followers: remove li from dropdown and keep table as it is.
bzr revid: dka@tinyerp.com-20140221045107-ete68out3asvjign
2014-02-21 10:21:07 +05:30
Christophe Simonis 4769ff5e5d [FIX] mail: fix IndentationError introduced in last commit
bzr revid: chs@openerp.com-20140220172926-4fy9x1i1q4wknfqx
2014-02-20 18:29:26 +01:00
Christophe Simonis 4b72678bc7 [MERGE] forward port of branch saas-2 up to revid 9195 chs@openerp.com-20140220154517-6y531n1mqtnfnsmr
bzr revid: chs@openerp.com-20140220163815-69sza1kclnh5mavs
2014-02-20 17:38:15 +01:00
Thibault Delavallée 1ac8e7cdfd [IMP] mail, email_template: mass mailing feature cleaning
- now differentiates mass mailing and mass post.
- mass mailing is a true mass mailing
- using same_thread log a copy in the document, without using message_post
(using notification field, + model and res_id)
- improved form view of composer, adding a filed explaining a bit the various
recipients
- removed unnecessary fields coming from the template (partner_to, ...) because
they are confusing -> composer should be easier to understand and use
- removed some unnecessary code
- removed double body computation when using templates (one for tmeplate, then
the wizard -> not necessary)

This commit will be followed by other to try to improve the mass mailing
and mass post.

bzr revid: tde@openerp.com-20140220152945-ash0hfkzevzamihq
2014-02-20 16:29:45 +01:00