The backport of #12633 was wrong because f86d35e09e87 changed the structure of method. Such that the indentation of the call compute_unit_price is not if there is a product set but if the unit is not valid. Closes #12702 (grafted from 5cabd3eabbfb54c169ca3a5595aab07c493672b5) --HG-- branch : 6.0
############### Purchase Module ############### The *Purchase Module* provides everything that is required to create and manage purchases made by the company. It adds the idea of a purchase to Tryton, and allows it to be tracked as it moves through various states from draft to done. It makes it easy to create supplier shipments for the purchase, and includes the ability to automatically create related supplier invoices. .. toctree:: :maxdepth: 2 usage/index design