fix stock status report custom detail template for templating engine change