from odoo import api, models from odoo.exceptions import UserError class CustomStockSchedulerCompute(models.TransientModel): _inherit = 'stock.scheduler.compute'