minor fix
This commit is contained in:
parent
0c7c464af2
commit
f7d9cb5bb2
|
@ -1338,7 +1338,7 @@ class AppWindow(FrontWindow):
|
|||
|
||||
def action_delivery_charge_selection_changed(self, index):
|
||||
val = self.field_delivery_charge.get_id()
|
||||
if val:
|
||||
if val and self._sale.get('id'):
|
||||
self.Sale.write([self._sale['id']], {'delivery_charge': val})
|
||||
|
||||
def action_kind_selection_changed(self, index):
|
||||
|
|
Loading…
Reference in New Issue