Add default help link for Receiving feature

also stop showing "buyer" filter by default
This commit is contained in:
Lance Edgar 2022-03-11 20:55:01 -06:00
parent 6037519fbe
commit da910b1414
2 changed files with 8 additions and 4 deletions

View file

@ -155,6 +155,7 @@ class MasterView(View):
use_index_links = False
has_versions = False
default_help_url = None
help_url = None
labels = {'uuid': "UUID"}
@ -2167,6 +2168,9 @@ class MasterView(View):
if self.help_url:
return self.help_url
if self.default_help_url:
return self.default_help_url
return global_help_url(self.rattail_config)
def render_to_response(self, template, data, **kwargs):