Skip to content

Commit

Permalink
[IMP] delivery: allow to set delivery price from XML-RPC call
Browse files Browse the repository at this point in the history
(a method that returns nothing is not callable through XML-RPC)

Backport of dc043cf to 9.0

Fixes odoo#12289 and tinyerp/erppeek#87
  • Loading branch information
xmo-odoo committed Jun 7, 2016
1 parent e5a42b2 commit ef1fb84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/delivery/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ def delivery_set(self):
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']

Expand Down

0 comments on commit ef1fb84

Please sign in to comment.