11 lines
400 B
Python
11 lines
400 B
Python
from odoo import models
|
|
|
|
class MrpConsumptionWarning(models.TransientModel):
|
|
_inherit = 'mrp.consumption.warning'
|
|
|
|
def action_confirm(self):
|
|
return super(MrpConsumptionWarning, self.with_context(bypass_user_restriction=True)).action_confirm()
|
|
|
|
def action_set_qty(self):
|
|
return super(MrpConsumptionWarning, self.with_context(bypass_user_restriction=True)).action_set_qty()
|