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.
|
|
# Copyright (C) 2019-Today: GRAP (<http://www.grap.coop/>) # @author: Sylvain LE GAL (https://twitter.com/legalsylvain) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
class BaseModuleUpdate(models.TransientModel): _inherit = 'base.module.update'
analyse_installed_modules = fields.Boolean( string='Analyse Installed Modules', default=True)
@api.multi def update_module(self): return super(BaseModuleUpdate, self.with_context( analyse_installed_modules=self.analyse_installed_modules) ).update_module()
|