8 lines
213 B
Python
8 lines
213 B
Python
from odoo import models
|
|
|
|
class SaleOrder(models.Model):
|
|
_inherit = 'sale.order'
|
|
|
|
def action_confirm(self):
|
|
return super(SaleOrder, self.with_context(bypass_user_restriction=True)).action_confirm()
|