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)
def __init__(self, wizard, previous, store, model): self.branch = api.get_current_branch(store) SellableItemStep.__init__(self, wizard, previous, store, model)