minor fix see tables

This commit is contained in:
Wilson Gomez 2023-11-11 10:24:46 -05:00
parent 983fa0f28a
commit 864739567f
1 changed files with 2 additions and 3 deletions

View File

@ -794,7 +794,7 @@ class AppWindow(FrontWindow):
self.set_state('disabled')
self.buttons_stacked.hide()
self.buttons_function.hide_buttons()
self._sale = {}
self.sale_id = None
else:
self.start_front.hide()
if hasattr(self, 'WidgetShop'):
@ -2448,7 +2448,7 @@ class AppWindow(FrontWindow):
# list_price = line['product'].get('list_price')
try:
code = line['product.']['code']
except:
except Exception:
code = line['product']['code']
product = self.Product.find([('code', '=', code)], fields=["list_price"])
list_price = product[0].get('list_price')
@ -3727,7 +3727,6 @@ class AppWindow(FrontWindow):
self.dialog_test_printer.exec_()
def on_selected_folio_transfer(self):
sale = self.store.store
folio_id = self.dialog_search_folio_transfer.get_id()
if not folio_id:
return