本文整理汇总了Python中stoqlib.gui.base.wizards.WizardEditorStep类的典型用法代码示例。如果您正苦于以下问题:Python WizardEditorStep类的具体用法?Python WizardEditorStep怎么用?Python WizardEditorStep使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了WizardEditorStep类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(self, wizard, store, model):
WizardEditorStep.__init__(self, store, wizard, model)
pm = PermissionManager.get_permission_manager()
if not pm.can_create('Supplier'):
self.add_supplier.hide()
if not pm.can_edit('Supplier'):
self.edit_supplier.hide()
示例2: __init__
def __init__(self, wizard, store, model, payment_group,
invoice_model):
self.invoice_model = invoice_model
self.payment_group = payment_group
BaseMethodSelectionStep.__init__(self)
marker("WizardEditorStep.__init__")
WizardEditorStep.__init__(self, store, wizard, model)
self._update_totals()
self.update_discount_and_surcharge()
示例3: __init__
def __init__(self, wizard, previous):
model = Settable(name='', email='', phone='', register_now=True)
WizardEditorStep.__init__(self, None, wizard, model, previous)
self._setup_widgets()
示例4: __init__
def __init__(self, store, wizard, model):
WizardEditorStep.__init__(self, store, wizard, model)
示例5: __init__
def __init__(self, wizard, previous, store, model):
WizardEditorStep.__init__(self, store, wizard, model, previous)
示例6: __init__
def __init__(self, store, wizard, model, groups):
self.groups = groups
WizardEditorStep.__init__(self, store, wizard, model)
BaseMethodSelectionStep.__init__(self)
示例7: __init__
def __init__(self, wizard, store):
WizardEditorStep.__init__(self, store, wizard)
self._setup_widgets()
示例8: __init__
def __init__(self, wizard, store, model):
self.branch = api.get_current_branch(store)
manager = get_plugin_manager()
self._nfe_is_active = manager.is_active('nfe')
WizardEditorStep.__init__(self, store, wizard, model)
示例9: __init__
def __init__(self, wizard, store, model):
self.branch = api.get_current_branch(store)
WizardEditorStep.__init__(self, store, wizard, model)