If an error is raised when computing the new cost price, the management tries to display the product name. So the product and the template must be set explicitly because the revision is not yet saved in the database. Closes #12616
############ Stock Module ############ The *Stock Module* provides the fundamental concepts required for managing stock. This includes keeping track of where the stock is, how much is available, and checking and correcting stock levels. It also allows stock to be moved from one place to another, and delivered to and from customers and suppliers. .. toctree:: :maxdepth: 2 setup usage/index design/index reference releases