You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# -*- coding: utf-8 -*- # Copyright (C) 2013 Therp BV (<http://therp.nl>). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, models from odoo.release import version_info
class PublisherWarrantyContract(models.AbstractModel): _inherit = 'publisher_warranty.contract'
@api.multi def update_notification(self, cron_mode=True): if version_info[5] == 'e': return super(PublisherWarrantyContract, self).update_notification( cron_mode=cron_mode)
|