def confirm(self): BasicDialog.confirm(self) state = self.date_filter.get_state() if isinstance(state, DateQueryState): start, end = state.date, state.date else: start, end = state.start, state.end self.retval = date_range(start=start, end=end)
def cancel(self, *args): self.store.rollback(close=False) BasicDialog.confirm(self, *args)
def confirm(self, *args): self.store.confirm(True) BasicDialog.confirm(self, *args) info(_("Changes will be applied after all instances of Stoq are restarted."))
def cancel(self, *args): self.store.rollback(close=False) BasicDialog.confirm(self, *args)
def confirm(self, *args): self.store.confirm(True) BasicDialog.confirm(self, *args) info(_("Changes will be applied after all instances of Stoq are restarted."))
def confirm(self, *args): self.store.confirm(True) BasicDialog.confirm(self, *args)
def confirm(self, *args): self.store.confirm(True) BasicDialog.confirm(self, *args)