Odoo Help

27
5
Michael Karrer
On 7/10/14, 4:11 PM

I will Upload our module soon to Github if anyone is still in need of this functionality. We also created a Global BCC Mdoule to BCC the E-Mails generated by OpenERP to our own E-Mail Server for Archiving Searching and Backup. - Still i do feel that the E-Mail integration in OpenERP is just not really well done / ready enough for real life scenarios.

Please find our Modules at:

https://github.com/OpenAT/odoo-addons/tree/7.0

Look for chatterimprovements and mayby globalbcc could be handy also.
 

Still i would like to ask you if there are other interested in taking the chatter module some steps further like:

  • CK Editor
  • Zimbra or other Mail integration (like having mails in both worlds)
  • Move Mails or "full conversations" between Objects in case of wrong assignment in the first place
  • Full Text E-Mail search
  • Add Attachments from existing Documents and possible from OWN Cloud
  • Drag and Drop Attachments to Messages
  • Make it possilbe to select and deselect recipients when sending mails no matter if they are followers or not!

Is anyone interrested in joining Forces on one or more of these topics?

I would really like this Michael. Under which name it is going to be uploaded?

Mibo, Michael Bos
on 8/23/14, 4:25 AM

Where can I find your Github repo? It should be nice to probe your modules

Javi Meléndez
on 8/28/14, 4:40 AM

Hello Michael, We're about to start developing such funcionality. Are you going to share the module you mention?

FACTOR LIBRE SL, Carlos Liébana Anero
on 9/1/14, 2:22 PM

Hello Michael, is there a version of your module that works with Odoo 8?

Peter A
on 8/18/15, 5:44 PM
6
julien rey
On 4/6/14, 8:41 AM

This behavious is actually generating many issues. On my side, i have changed the file mail_thread.py from this :

    # automatically subscribe recipients if asked to
    if context.get('mail_post_autofollow') and thread_id and partner_ids:
        partner_to_subscribe = partner_ids
        if context.get('mail_post_autofollow_partner_ids'):
            partner_to_subscribe = filter(lambda item: item in context.get('mail_post_autofollow_partner_ids'), partner_ids)
        self.message_subscribe(cr, uid, [thread_id], list(partner_to_subscribe), context=context)

to this :

        # automatically subscribe recipients if asked to
    #if context.get('mail_post_autofollow') and thread_id and partner_ids:
    #    partner_to_subscribe = partner_ids
    #    if context.get('mail_post_autofollow_partner_ids'):
    #        partner_to_subscribe = filter(lambda item: item in context.get('mail_post_autofollow_partner_ids'), partner_ids)
    #    self.message_subscribe(cr, uid, [thread_id], list(partner_to_subscribe), context=context)

Now adding automatically follower is disabled.

++

Julien

I tried your solution and it works for the first test. How do you make the solution permanent against a "git pull" ? Is "git rm mail_thread.py" enough?

Tobias Frankl
on 2/25/15, 1:27 AM

Could somebody please Show, how this working solution could also be applied to the mail_group.py=discussion groups?

Tobias Frankl
on 4/11/15, 4:55 AM

Is this code for 7.0 or 8.0? I'm looking for a solution for Odoo 8.

Peter A
on 8/18/15, 5:47 PM
2
Victor Major
On 5/6/15, 9:31 PM

Is there a way to achieve this within Odoo 8 without hacking into the code and thus making the change stable and persistent? I cannot think of a situation where I would want the Customer or "Patner" to be privy to our internal communications by default. Whoever thought that this was a good idea is mistaken.

Victor, did you find a solution?

Peter A
on 8/18/15, 5:46 PM
0
Ing. Daniel Blanco
On 9/24/16, 10:45 AM

Ray buy "check out" do you mean mute these functions? or study them?

Something like this would work?

from openerp.osv import osv, fields

class mail_followers(osv.Model):
_inherit = 'mail.followers'
def get_partners_to_email(self, cr, uid, ids, message, context=None):
pass


class mail_thread(osv.AbstractModel):
_inherit = 'mail.thread'
def message_get_suggested_recipients(self, cr, uid, ids, context=None):
pass


class crm_lead(format_address, osv.osv):
_inherit = 'crm.lead'
def message_get_suggested_recipients(self, cr, uid, ids, context=None):
pass


class project_issue(osv.Model):
_inherit = "project.issue"
def message_get_suggested_recipients(self, cr, uid, ids, context=None):
pass

The intention was to put this as a comment, not an answer. Sorry.

Daniel Blanco
on 9/24/16, 10:50 AM
0
Lost Data
On 5/31/16, 8:00 AM

For 8.0 Community Users the easiest way to achieve this behavior is by using the edit suggested by Julien Rey above:

Locate Mail_thread.py @ C:\Program Files (x86)\Odoo 8.0\server\openerp\addons\mail.

Locate this code (Line 1677):

 # automatically subscribe recipients if asked to
    if context.get('mail_post_autofollow') and thread_id and partner_ids:
        partner_to_subscribe = partner_ids
        if context.get('mail_post_autofollow_partner_ids'):
            partner_to_subscribe = filter(lambda item: item in context.get('mail_post_autofollow_partner_ids'), partner_ids)
        self.message_subscribe(cr, uid, [thread_id], list(partner_to_subscribe), context=context)

Then comment out the 5 lines beneath so it looks like this:

       # automatically subscribe recipients if asked to
    #if context.get('mail_post_autofollow') and thread_id and partner_ids:
    #    partner_to_subscribe = partner_ids
    #    if context.get('mail_post_autofollow_partner_ids'):
    #        partner_to_subscribe = filter(lambda item: item in context.get('mail_post_autofollow_partner_ids'), partner_ids)
    #    self.message_subscribe(cr, uid, [thread_id], list(partner_to_subscribe), context=context)

In addition to this change, the module made by Smile, ( https://apps.openerp.com/apps/modules/8.0/smile_followers/ ), prevents the creators of events like quotes being added to the 'Followers' List.

0
Avatar

IT Libertas

--IT Libertas--
948
| 4 3 7
Saint Petersburg, Russian Federation
--IT Libertas--

Visit us: https://odootools.com/

IT Libertas is a team of developers and automation experts to help you to unlock Odoo ERP system's potential. We have been communicating with end users to whom the software became a main business tool since 2012. As a result, we are proud of dozens of successful Odoo apps developed.

We are open for new ideas and challenges to create the best Odoo tools for business needs all over the world

IT Libertas
On 3/13/16, 6:01 PM

Have a look at this module: https://apps.odoo.com/apps/modules/9.0/compoze_no_auto_subscribe/. It may be really comfortable to use to that purposes

0
Turkesh Patel
On 6/29/15, 8:32 AM

For Sale order i get to know that in action_button_confirm method code is there to manually add customer as a follower in portal_sale module (portal_sale.py using message_subscribe method). if you do not want to add customer as a follower you can comment this code or override that method in your module to avoid this functionality.

0
Dr Obx
On 6/11/15, 10:41 AM

It's a long time since you guys started this topic.

Is any module removing followers available or the only way is dig in the code ?

0
Carlos Liébana Anero
On 10/3/14, 12:03 PM

Michael, thanks for your module. We're going to test it and we'll give feedback soon.

0
Avatar

Ray Carnes

--Ray Carnes--
20277
| 9 7 9
Keyport, United States
--Ray Carnes--

Senior ERP Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0 and 11.0.

Completed Odoo Functional and Technical Training.

Functional Areas:

  • CRM/Sales

  • Inventory

  • Manufacturing

  • Accounting

  • Purchasing

Major Skills:

  • Business Process Reengineering

  • Efficiency Consulting

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 10/31/13, 11:23 PM

Check out these functions:

get_partners_to_notify - in /addons/mail/mail_followers.py

message_get_suggested_recipients - in /addons/mail/mail_thread.py

message_get_suggested_recipients - in /addons/crm/crm_lead.py

message_get_suggested_recipients - in /addons/project_issue/project_issue.py

Hello Ray. Can you explain to a beginner how must these files be changed? Thanks beforehand

my
on 11/2/13, 7:40 AM

Finally we did develop a module together with a partner from us that allows us to set on every res.partner if it should get added automatically - spend some money for that also this module is able to show much more information in the chatter log e.g.: to what persons an E-Mail was really sent and so on...

Michael Karrer
on 2/13/14, 11:25 AM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

14 follower(s)

Stats

Asked: 7/23/13, 11:06 AM
Seen: 33518 times
Last updated: 10/14/18, 6:54 PM