def __init__(self, window, store=None): # Create this here because CalendarView will update it. # It will only be shown on create_ui though self.date_label = gtk.Label('') self._calendar = CalendarView(self) ShellApp.__init__(self, window, store=store) threadit(self._setup_daemon)
def __init__(self, window, store=None): # Create this here because CalendarView will update it. # It will only be shown on create_ui though self.date_label = gtk.Label('') self._calendar = CalendarView(self) ShellApp.__init__(self, window, store=store) self._setup_daemon()
def __init__(self, window, store=None): # Account id -> TransactionPage self._pages = {} self.accounts = AccountTree() ShellApp.__init__(self, window, store=store) self._tills_account = api.sysparam(self.store).TILLS_ACCOUNT self._imbalance_account = api.sysparam(self.store).IMBALANCE_ACCOUNT self._banks_account = api.sysparam(self.store).BANKS_ACCOUNT
def __init__(self, window, store=None): # Account id -> TransactionPage self._pages = {} self.accounts = AccountTree() ShellApp.__init__(self, window, store=store) self._tills_account_id = api.sysparam.get_object_id('TILLS_ACCOUNT') self._imbalance_account_id = api.sysparam.get_object_id('IMBALANCE_ACCOUNT') self._banks_account_id = api.sysparam.get_object_id('BANKS_ACCOUNT')
def __init__(self, window, store=None): self._suggested_client = None self._current_store = None self._trade = None self._trade_infobar = None ShellApp.__init__(self, window, store=store) self._delivery = None self._coupon = None # Cant use self._coupon to verify if there is a sale, since # CONFIRM_SALES_ON_TILL doesnt create a coupon self._sale_started = False self._scale_settings = DeviceSettings.get_scale_settings(self.store)
def __init__(self, window, store=None): self._suggested_client = None self._current_store = None self._trade = None self._trade_infobar = None ShellApp.__init__(self, window, store=store) self._delivery = None self.param = api.sysparam(self.store) self._coupon = None # Cant use self._coupon to verify if there is a sale, since # CONFIRM_SALES_ON_TILL doesnt create a coupon self._sale_started = False self._scale_settings = DeviceSettings.get_scale_settings(self.store)
def __init__(self, window, store=None): self.summary_label = None self._visible_date_col = None ShellApp.__init__(self, window, store=store)
def __init__(self, window, store=None): self._calendar = CalendarView(self) ShellApp.__init__(self, window, store=store) self._setup_daemon()
def __init__(self, window, store=None): self.summary_label = None self._visible_date_col = None self._extra_summary = None ShellApp.__init__(self, window, store=store) self.search.connect('search-completed', self._on_search_completed)