def get_model_url(self, object, kind): return (derive_model_url(Tax, "shoop_admin:tax", object, kind) or derive_model_url(TaxClass, "shoop_admin:tax_class", object, kind) or derive_model_url(CustomerTaxGroup, "shoop_admin:customer_tax_group", object, kind))
def get_model_url(self, object, kind): return derive_model_url(Script, "shoop_admin:notify.script", object, kind)
def get_model_url(self, object, kind): return derive_model_url(ServiceProvider, "shoop_admin:service_provider", object, kind)
def get_model_url(self, object, kind): return derive_model_url(get_user_model(), "shoop_admin:user", object, kind)
def get_model_url(self, object, kind): return ( derive_model_url(ShippingMethod, "shoop_admin:method.shipping", object, kind) or derive_model_url(PaymentMethod, "shoop_admin:method.payment", object, kind) )
def get_model_url(self, object, kind): return derive_model_url(Attribute, "shoop_admin:attribute", object, kind)
def get_model_url(self, object, kind): return derive_model_url(Order, "shoop_admin:order", object, kind)
def get_model_url(self, object, kind): return derive_model_url(Manufacturer, "shoop_admin:manufacturers", object, kind)
def get_model_url(self, object, kind): return derive_model_url(Supplier, "shoop_admin:suppliers", object, kind)
def get_model_url(self, object, kind): return derive_model_url(Carousel, "shoop_admin:carousel", object, kind)
def get_model_url(self, object, kind): return derive_model_url(Shop, "shoop_admin:shop", object, kind)
def get_model_url(self, object, kind): return derive_model_url(self.model, self.url_name_prefix, object, kind)
def get_model_url(self, object, kind): return derive_model_url(TaxRule, "shoop_admin:default_tax.tax_rule", object, kind)
def get_model_url(self, object, kind): return derive_model_url(ContactGroup, "shoop_admin:contact-group", object, kind)
def get_model_url(self, object, kind): return (derive_model_url(ShippingMethod, "shoop_admin:method.shipping", object, kind) or derive_model_url( PaymentMethod, "shoop_admin:method.payment", object, kind))
def get_model_url(self, object, kind): return derive_model_url(SalesUnit, "shoop_admin:sales-unit", object, kind)
def get_model_url(self, object, kind): return derive_model_url(Page, "shoop_admin:simple_cms.page", object, kind)
def get_model_url(self, object, kind): if not hasattr(object, "admin_url_suffix"): return super(CampaignAdminModule, self).get_model_url(object, kind) admin_url = "shoop_admin:%s" % object.admin_url_suffix return derive_model_url(type(object), admin_url, object, kind)
def get_model_url(self, object, kind): return derive_model_url(Product, "shoop_admin:product", object, kind)
def get_model_url(self, object, kind): return ( derive_model_url(Tax, "shoop_admin:tax", object, kind) or derive_model_url(TaxClass, "shoop_admin:tax_class", object, kind) or derive_model_url(CustomerTaxGroup, "shoop_admin:customer_tax_group", object, kind) )
def get_model_url(self, object, kind): return derive_model_url(Category, "shoop_admin:category", object, kind)