Odoo Help

3

Helpdesk Followers - Add Customer

By
dave ellis
on 9/27/13, 8:09 AM 1,967 views

Hi,

I want to add the customer as a follower, using the helpdesk email partner email field, that is dropped in when select the partner. So that the customer is subscribed to the helpdesk record and gets a copy of the messages sent via "messages".

Can anyone help to the best way of doing this?

Hello, Did you tried my solution ? is it worked ?

Hiren Vora - CEO at Emipro Technologies Pvt. Ltd. India
on 10/29/14, 9:53 AM
0

IT Libertas

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

Visit us: itlibertas.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 implementations.

IT Libertas guarantees deadlines predictability and transparent pricing. We rely upon the best international practices and invest in local markets' study. That is why the company's services are in demand of European, Asian, American and African entrepreneurs.

We are open for cooperation and keep searching for new solutions to the end that IT Libertas clients go ahead of the curve, deal with less routine and generate more profit.

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

You may subscribe any partner to any object. Just push the button 'invite' in the top left corner. Be cautious: when sending a notification to your partner Odoo generates a signup url for the portal.

Besides, this module may be helpful to your purposes: https://apps.odoo.com/apps/modules/9.0/compoze_no_auto_subscribe/


0

Hello,

First of all I am very disappointed by looking on the unrelated answers over here.

Here I put my thoughts with hope that you are a Odoo technical programer.

Actully functionally this is not possible unless there is some custom module developed for this feature. Only fields which are related to "res.users" class, they can be added to auto subscribe by configuration in Odoo.

*Important Tip* : Any field which is related to "res.users" class they can be easily added into auto subscribe by inherit this method :  _message_get_auto_subscribe_fields ( Your class must extend mail.thread ) 

However Partner field in Helpdesk form is related to "res.partner" class, so you have to develop custom code with override the write method like as follows,

In your custom module extend the crm.helpdesk object and add following method,

    def write(self, cr, uid, ids, values, context=None):
        """ Override to add case management: open/close dates """
        if values.get('partner_id') :
            self.message_subscribe(cr, uid, ids, [values['partner_id']], None, context=context)
        return super(crm_helpdesk, self).write(cr, uid, ids, values, context=context)

You have to override create method as well. So at the creation time, Selected Partner will automatically add in the followers area.

By adding above write method in your custom program, when you edit Partner in Helpdesk screen, the new partner will automatically added in followers area.

This is code which is tested and from one of my custom modules. So I am sure it will work.

Good Luck ! Let me know the result !

Hope this helps,

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

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

1 follower(s)

Stats

Asked: 9/27/13, 8:09 AM
Seen: 1967 times
Last updated: 3/13/16, 6:26 PM