def payment_window (self, widget): selection = self.builder.get_object('treeview-selection') model, path = selection.get_selected_rows() if path == []: return customer_id = model[path][2] import customer_payment customer_payment.GUI(self.main, customer_id)
def payment_window(self, widget): import customer_payment customer_payment.GUI(customer_id = self.customer_id )
def payment_window(self, widget): customer_payment.GUI(self.db, customer_id=self.customer_id)