Use pattern matching for purchase price
In other places, Tryton uses a pattern matching to find a line in a list.
It will be good to have the same pattern for the purchase price using the product supplier information.
In the same time, I create a Mixin to factorize the code.