Skip to content
Snippets Groups Projects
Commit dc043cf1 authored by Richard Mathot's avatar Richard Mathot
Browse files

[IMP] delivery: allow to set delivery price from XML-RPC call

(a method that returns nothing is not callable through XML-RPC)
parent 1231585d
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,8 @@ class SaleOrder(models.Model):
else:
raise UserError(_('No carrier set for this order.'))
return True
def _create_delivery_line(self, carrier, price_unit):
SaleOrderLine = self.env['sale.order.line']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment