Example #1
0
 def __init__(self, wizard, previous, store, model):
     manager = get_plugin_manager()
     nfe_is_active = manager.is_active('nfe')
     if nfe_is_active:
         self.cost_editable = True
     SellableItemStep.__init__(self, wizard, previous, store, model)
Example #2
0
 def __init__(self, wizard, previous, store, model):
     manager = get_plugin_manager()
     nfe_is_active = manager.is_active('nfe')
     if nfe_is_active:
         self.cost_editable = True
     SellableItemStep.__init__(self, wizard, previous, store, model)
Example #3
0
 def __init__(self, wizard, previous, store, model):
     self.branch = api.get_current_branch(store)
     SellableItemStep.__init__(self, wizard, previous, store, model)