def METHOD_NAME(self):
    """Before template render hook
    """
    super(PricelistsView, self).METHOD_NAME()
    # Render the Add button if the user has the AddPricelist permission
    if check_permission(AddPricelist, self.context):
        self.context_actions[_("Add")] = {
            "url": "createObject?type_name=Pricelist",
            "icon": "++resource++bika.lims.images/add.png"
        }
    # Don't allow any context actions on the Methods folder
    self.request.set("disable_border", 1)