Merge pull request #3583 from expsa/dev_odex25_donation
Dev odex25 donation
This commit is contained in:
commit
ed111a31f0
|
|
@ -45,7 +45,7 @@ class SaleOrder(models.Model):
|
|||
sale.sale_order_portal_url = self.env['ir.config_parameter'].sudo().get_param('web.base.url') + sale.get_portal_url()
|
||||
|
||||
def _cart_update(self, *args, **kwargs):
|
||||
res = super(SaleOrder_Inherit, self)._cart_update(*args, **kwargs)
|
||||
res = super()._cart_update(*args, **kwargs)
|
||||
|
||||
order_line = self.env['sale.order.line'].browse(res.get('line_id'))
|
||||
qty = kwargs.get('add_qty', False) or kwargs.get('set_qty', False)
|
||||
|
|
@ -84,7 +84,7 @@ class SaleOrder(models.Model):
|
|||
})
|
||||
|
||||
def action_confirm(self):
|
||||
call_super = super(SaleOrder_Inherit, self).action_confirm()
|
||||
call_super = super().action_confirm()
|
||||
if call_super == True:
|
||||
for rec in self:
|
||||
if rec.order_mobile_number:
|
||||
|
|
|
|||
Loading…
Reference in New Issue