本文整理汇总了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()
开发者ID:Guillon88,项目名称:stoq,代码行数:7,代码来源:purchasewizard.py
示例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()
开发者ID:romaia,项目名称:stoq,代码行数:12,代码来源:salewizard.py
示例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()
开发者ID:adrianoaguiar,项目名称:stoq,代码行数:4,代码来源:config.py
示例4: __init__
def __init__(self, store, wizard, model):
WizardEditorStep.__init__(self, store, wizard, model)
开发者ID:marianaanselmo,项目名称:stoq,代码行数:2,代码来源:productionwizard.py
示例5: __init__
def __init__(self, wizard, previous, store, model):
WizardEditorStep.__init__(self, store, wizard, model, previous)
开发者ID:pkaislan,项目名称:stoq,代码行数:2,代码来源:purchasequotewizard.py
示例6: __init__
def __init__(self, store, wizard, model, groups):
self.groups = groups
WizardEditorStep.__init__(self, store, wizard, model)
BaseMethodSelectionStep.__init__(self)
开发者ID:Guillon88,项目名称:stoq,代码行数:4,代码来源:renegotiationwizard.py
示例7: __init__
def __init__(self, wizard, store):
WizardEditorStep.__init__(self, store, wizard)
self._setup_widgets()
开发者ID:Joaldino,项目名称:stoq,代码行数:3,代码来源:personwizard.py
示例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)
开发者ID:amaurihamasu,项目名称:stoq,代码行数:5,代码来源:stocktransferwizard.py
示例9: __init__
def __init__(self, wizard, store, model):
self.branch = api.get_current_branch(store)
WizardEditorStep.__init__(self, store, wizard, model)
开发者ID:EasyDevSolutions,项目名称:stoq,代码行数:3,代码来源:stocktransferwizard.py
注:本文中的stoqlib.gui.base.wizards.WizardEditorStep类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论