minor fix see tables
This commit is contained in:
parent
983fa0f28a
commit
864739567f
|
@ -794,7 +794,7 @@ class AppWindow(FrontWindow):
|
||||||
self.set_state('disabled')
|
self.set_state('disabled')
|
||||||
self.buttons_stacked.hide()
|
self.buttons_stacked.hide()
|
||||||
self.buttons_function.hide_buttons()
|
self.buttons_function.hide_buttons()
|
||||||
self._sale = {}
|
self.sale_id = None
|
||||||
else:
|
else:
|
||||||
self.start_front.hide()
|
self.start_front.hide()
|
||||||
if hasattr(self, 'WidgetShop'):
|
if hasattr(self, 'WidgetShop'):
|
||||||
|
@ -2448,7 +2448,7 @@ class AppWindow(FrontWindow):
|
||||||
# list_price = line['product'].get('list_price')
|
# list_price = line['product'].get('list_price')
|
||||||
try:
|
try:
|
||||||
code = line['product.']['code']
|
code = line['product.']['code']
|
||||||
except:
|
except Exception:
|
||||||
code = line['product']['code']
|
code = line['product']['code']
|
||||||
product = self.Product.find([('code', '=', code)], fields=["list_price"])
|
product = self.Product.find([('code', '=', code)], fields=["list_price"])
|
||||||
list_price = product[0].get('list_price')
|
list_price = product[0].get('list_price')
|
||||||
|
@ -3727,7 +3727,6 @@ class AppWindow(FrontWindow):
|
||||||
self.dialog_test_printer.exec_()
|
self.dialog_test_printer.exec_()
|
||||||
|
|
||||||
def on_selected_folio_transfer(self):
|
def on_selected_folio_transfer(self):
|
||||||
sale = self.store.store
|
|
||||||
folio_id = self.dialog_search_folio_transfer.get_id()
|
folio_id = self.dialog_search_folio_transfer.get_id()
|
||||||
if not folio_id:
|
if not folio_id:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue