make stockreport use submit_form_locally

This can be ported to commtrack branches as necessary