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