Dolibarr/dolibarr — pull request #1299 by altairis-fr (2013-11-13 17:47:16+00:00)
Title: fix wrong buy price update (confusion between entity and npr !)

and i hope a lot there is not the same problem elsewhere because entity is kind of important in dolibarr foreign keys... (yes my supplier prices database is very corrupted and i'm as well irritated)