Followers

by
Odoo
v 8.0 v 9.0 Third Party 403
Download for v 9.0
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Technical Name smile_followers
LicenseAGPL-3
Websitehttp://www.smile.fr
Versions 9.0 8.0
You bought this module and need support? Click here!

Features

  • Disable auto-subscribe for users
  • Activation from user preferences

Usage

from openerp.addons.smile_followers.tools import AddFollowers, add_followers

@AddFollowers(fields=['restrict_partner_id']) # by default fields=['partner_id'] class StockMove(models.Model):

_name = 'stock.move' _inherit = ['stock.move', 'mail.thread']
class AccountMove(models.Model):

_name = 'account.move' _inherit = ['account.move', 'mail.thread']

@api.multi @add_followers(fields=['partner_id']) # by default fields=['partner_id']. In my sample, fields arg is not useful def post(self):

return super(AccountMove, self).post()

Suggestions & Feedback to: isabelle.richard@smile.fr & corentin.pouhet-brunerie@smile.fr

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.