minor fix

This commit is contained in:
wilsongomez 2022-02-22 11:40:37 -05:00
parent 0c7c464af2
commit f7d9cb5bb2
1 changed files with 1 additions and 1 deletions

View File

@ -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):