OCA/product-attribute — pull request #11 by laetitia-gangloff (2014-08-28 08:55:54+00:00)
Title: search first product.price.type instead of take id 1

In some case (rare) product.price.type with id 1 doesn't exist, so it is not possible to set base 1.

To reproduce the problem, simply delete product price type with id 1 and set fixed price on pricelist item. Save doesn't work, because base is empty.