Commit Graph

35 Commits

Author SHA1 Message Date
Thibault Delavallée f62f58174b [IMP] mail: added headers field on mail.mail, allowing to store headers data when sending notification emails. 2014-06-23 09:11:01 +02:00
ged-odoo 74168c4e9d Merge pull request #272 from odoo-dev/master-inline-searchview-ged
[MERGP] Inline Searchview

This task split the searchview in two parts: SearchView and SearchViewDrawer. The drawer is displayed inside the main view and the searchview stays in place.  It also changes the scrolling behavior of the web client: the main view area can scroll without affecting the UI (so the various menus stays in place)

Because of this, other large changes have been made:

the drawer has been redesigned,
the Custom Filter widget has been split in two (Custom Report and SaveCurrentFilter),
the main view is now scrollable, so the UI stays in place and only the view can change
The text 'Group By...' has been changed into 'Group By' (most addons had to be modified)
bootstrap classes are used when it makes sense (for example, badge)
the left menu is also scrollable (separately from the main view)

It is likely that some stupid bugs have been introduced.  Please don't hurt me.
2014-06-12 16:27:11 +02:00
Fabien Meghazi faa09da325 Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
Géry Debongnie 555677f14d [IMP] replace all 'Group By...' by 'Group By'
in all searchview, the 'Group By...' looks weird, next to the Custom
Reports and Filters.  This change was requested by the upper management
2014-05-22 11:44:35 +02:00
Mantavya Gajjar 79de0ce79b [IMP]: improve code
bzr revid: mga@tinyerp.com-20140506122230-5kf1l77cjt7di32p
2014-05-06 17:52:30 +05:30
Jitendra Prajapati (OpenERP) 59a9d91558 [MERGE]sync main branch
bzr revid: jpr@tinyerp.com-20140505095247-gv9je300z9j98sk0
2014-05-05 15:22:47 +05:30
Christophe Simonis 7a7d7febf8 [MERGE] forward port of branch saas-3 up to revid 9429 chs@openerp.com-20140424123538-rxk9got9k2on1ki1
bzr revid: chs@openerp.com-20140424131824-4ksluvhnegp7kplb
bzr revid: chs@openerp.com-20140424134533-lhhcd32n3s0m9cqk
2014-04-24 15:45:33 +02:00
Jitendra Prajapati (OpenERP) 9c051c5bd9 [MERGE]with main branch
bzr revid: jpr@tinyerp.com-20140424050125-c58ek4dlw5805k29
2014-04-24 10:31:25 +05:30
Denis Ledoux b6255eb55d [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 10005 revid:dle@openerp.com-20140422150710-mr9x3vyq0wcg31l5
bzr revid: dle@openerp.com-20140422162028-2icoebrb5q4tg3t3
2014-04-22 18:20:28 +02:00
Martin Trigaux a97dd9adaf [FIX] mail: correct missing comma in domain on mail.mail
bzr revid: mat@openerp.com-20140418140508-y0fnxsbgda0gp6t4
2014-04-18 16:05:08 +02: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
Pooja Zankhariya (OpenERP) 90717ea1b0 [MERGE]Merge with Trunk
bzr revid: prajapatijitendra7969@gmail.com-20131127051848-i0hrg70ro4uu68oq
bzr revid: prajapatijitendra7969@gmail.com-20131202053459-2p1zdlhgcai3bszr
bzr revid: prajapatijitendra7969@gmail.com-20131212072502-ktr7iyuietkiofl5
bzr revid: prajapatijitendra7969@gmail.com-20131217050537-thvwwcn2k599cs5l
bzr revid: pza@tinyerp.com-20131226071410-pnnr7i5lwu4qn4py
2013-12-26 12:14:10 +05:00
Christophe Simonis 6b05beecc1 [MERGE] forward port of branch 7.0 up to revid 9651 chs@openerp.com-20131127104459-jb77x7quwcvtifm7
bzr revid: dle@openerp.com-20131126171210-jovr7e7efehuq3s2
bzr revid: chs@openerp.com-20131127110046-4ow36dkuuyzgf1pl
2013-11-27 12:00:46 +01:00
Thibault Delavallée 1284c5c0d4 [FIX] mail: fixed reply button in mail_mail form view, should reply
to a mail.message, not a mail.mail.

lp bug: https://launchpad.net/bugs/1212190 fixed

bzr revid: tde@openerp.com-20131125155857-m04233fbyan7mglt
2013-11-25 16:58:57 +01:00
Pooja Zankhariya (OpenERP) 737b920c74 [IMP]Added partner_ids
bzr revid: pza@tinyerp.com-20131106134135-wqfrgbrtu8nw8415
2013-11-06 18:41:35 +05:00
Pooja Zankhariya (OpenERP) de35c79933 [IMP]Removed Recipient from advance tab as it already comes in 'To' field
bzr revid: pza@tinyerp.com-20131030131806-1s18ti71vp93qlbv
2013-10-30 18:18:06 +05:00
Pooja Zankhariya (OpenERP) e8c99922de [IMP]Added statusbar
bzr revid: pza@tinyerp.com-20131030131532-6viz67uodbxrfcww
2013-10-30 18:15:32 +05:00
Thibault Delavallée ed62d1dac7 [REF] mass_mailing: first refactor
Mail statistics are now stored onto a separated object (mail.mail.statistics), allowing to
handle emails separately from statistics (among other removing mail.mail entries while keeping
statistics).

Everything linnked to opened/replied/bounce is not managed by mass_mailing, removed added code
in mail module.

bzr revid: tde@openerp.com-20130913115408-322cyjipdg680as6
2013-09-13 13:54:08 +02:00
Thibault Delavallée ce8c987089 [IMP] mail, email_template, mass_mailing: improvev mass mailing management in mail.compose.message + form view cleanings + some fixes in mail_mail about set_opened/replied/bounced, now checking that ids effectively exist
bzr revid: tde@openerp.com-20130910151901-nhuwvtrkbwekyh7x
2013-09-10 17:19:01 +02:00
Thibault Delavallée 38a534dee0 [IMP] mail: first implementation of tracking and bounce management.
Added 2 fields on mail_mail to count read/bounce.
Added bounce alias bounce-mail_id-model-res_id.
Added message_receive_bounce method that try to incremetn message_bounce field.

bzr revid: tde@openerp.com-20130806151143-7dw6xlj8n7mh0nqe
2013-08-06 17:11:43 +02:00
Christophe Simonis aa133b4d29 [MERGE] forward port of branch saas-1 up to revid 8745 chs@openerp.com-20130613181503-82234mo34wxb0oap
bzr revid: chs@openerp.com-20130614091924-z5ta02kwhmwcrgox
2013-06-14 11:19:24 +02:00
Thibault Delavallée 05d463a0e2 [FIX] mail_mail: sdearch view: no need to have default_type_email
bzr revid: tde@openerp.com-20130606142720-ghs664yqhgemd132
2013-06-06 16:27:20 +02:00
Vishmita Jadeja (openerp) 9c1c90d233 [FIX]Improve send now button
bzr revid: vja@tinyerp.com-20130515092203-vjiw604jz8ln894i
2013-05-15 14:52:03 +05:30
Vishmita Jadeja (openerp) 26c3cc082d [Merge]Merge with Trunk
bzr revid: vja@tinyerp.com-20130418102337-bojdxp33leonvr1n
2013-04-18 15:53:37 +05:30
Thibault Delavallée 5d59401b91 [MERGE] Sync with trunk, tried to resolve the conflicts without breakign everything.
bzr revid: tde@openerp.com-20130315120759-sf1o1sd80ycuuy7n
2013-03-15 13:07:59 +01:00
Thibault Delavallée 8ba623dd8e [CLEAN] mail_mail: cleaned a bit the form view
bzr revid: tde@openerp.com-20130314120611-p9fouks0wk0e10do
2013-03-14 13:06:11 +01:00
Thibault Delavallée bce4b433cb [FIX] mail_mail: fixed search view group_by using fields removed between 6.1 and 7.0; added group_by author_id.
bzr revid: tde@openerp.com-20130313151227-0ukxnu9wyxm1pe37
2013-03-13 16:12:27 +01:00
Thibault Delavallée 0aaca4daa9 [IMP] mail: improved mass mailing. Correctly take into account email_to, email_cc, partner_to even if no template. Mass mailing is a no-subtype post with additional recipients manually notified. Added option (in technical features) to send to followers, or to directly create a mail_mail. Added some default values in mail_message. Added explicit management of email_from and reply_to. Having a reply_to bypasses the 'model-res_id' in message_id behavior allowing to construct threads. Added explicit recipient_ids field on mail_mail that replaces the recipient_ids parameter in mail_mail.send(). Updated tests accordingly.
bzr revid: tde@openerp.com-20130225164857-i635atksj7riq9nd
2013-02-25 17:48:57 +01:00
Olivier Dony cd0714b78d [FIX] all: change confusing labels on Cancel buttons in form views
lp bug: https://launchpad.net/bugs/1103426 fixed

bzr revid: odo@openerp.com-20130225133804-k7012p8p81e6g8vg
2013-02-25 14:38:04 +01:00
Vishmita 50bb815990 [FIX]Add buttons in Email form
bzr revid: vja@tinyerp.com-20121129124728-7wg53p69cqrkw7dp
2012-11-29 18:17:28 +05:30
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
Olivier Dony a97ac7649f [IMP] mail.mail: fix search view, as mail.mail != mail.message and meant for outgoing emails only now
bzr revid: odo@openerp.com-20120901011612-y1iab42s3g2gr8l0
2012-09-01 03:16:12 +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 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