<commit_before># -*- coding: utf-8 -*-
##############################################################################
#
#    OpenERP, Open Source Management Solution
#    Copyright (C) 2014 Toyota Industrial Equipment SA
#
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU Affero General Public License as
#    published by the Free Software Foundation, either version 3 of the
#    License, or (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU Affero General Public License for more details.
#
#    You should have received a copy of the GNU Affero General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

{
    "name": "Followers",
    "version": "1.0",
    "author": "Smile",
    "website": 'http://www.smile.fr',
    "category": "Tools",
    "description": """
Manage models following
------------------------------------

TODO: add code comments
TODO: describe usage


Code sample

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


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

    @add_followers()
    @api.model
    def create(self, vals):
        return super(StockMove, self).create(vals)

    @add_followers()
    @api.multi
    def write(self, vals):
        return super(StockMove, self).write(vals)

Suggestions & Feedback to: <EMAIL>
""",
    "depends": [
        'base',
    ],
    "data": [
        'views/res_partner_view.xml',
    ],
    "demo": [],
    "installable": True,
    "active": False,
}<commit_msg>[IMP] Update smile_followers description<commit_after># -*- coding: utf-8 -*-
##############################################################################
#
#    OpenERP, Open Source Management Solution
#    Copyright (C) 2014 Toyota Industrial Equipment SA
#
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU Affero General Public License as
#    published by the Free Software Foundation, either version 3 of the
#    License, or (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU Affero General Public License for more details.
#
#    You should have received a copy of the GNU Affero General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

{
    "name": "Followers",
    "version": "1.0",
    "author": "Smile",
    "website": 'http://www.smile.fr',
    "category": "Tools",
    "description": """
Manage models following
------------------------------------

* Disable auto-subscribe for users 
** activation from user preferences  

TODO: add code comments
TODO: describe usage


Code sample

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


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

    @add_followers()
    @api.model
    def create(self, vals):
        return super(StockMove, self).create(vals)

    @add_followers()
    @api.multi
    def write(self, vals):
        return super(StockMove, self).write(vals)

Suggestions & Feedback to: <EMAIL>
""",
    "depends": [
        'base',
        'mail',
    ],
    "data": [
        'views/res_partner_view.xml',
        'views/res_users_view.xml',
    ],
    "demo": [],
    "installable": True,
    "active": False,
}
{'fraction_non_alphanumeric': 0.19969818913480886, 'fraction_numerical': 0.004024144869215292, 'mean_word_length': 3.235356762513312, 'pattern_counts': {'":': 22, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 3}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1759414', 'n_tokens_mistral': 1139, 'n_tokens_neox': 1092, 'n_words': 377}