Compute name of the product for sale, purchase and invoice lines and stock moves
Instead of having the code in the report templates, we use a Function field that can be extended without updating the template.
Closes #12892 (closed), #12893 (closed)