[FIX] stock: onchange method should take the description
authorRifakat Husen <rha@openerp.com>
Tue, 5 Aug 2014 15:15:06 +0000 (17:15 +0200)
committerMartin Trigaux <mat@openerp.com>
Wed, 6 Aug 2014 06:54:31 +0000 (08:54 +0200)
commitbc4217ced23288f8ab2a67659903b89625584e68
tree2b7aafadd04db13b4121fd355d461eb8aae5cdf6
parent70b246c3c7d6c7b197f1d36cf6c86aeed896d077
[FIX] stock: onchange method should take the description

The onchange_product_id method used to only change the description if the stock.move is not saved yet. That does not make much sense.
opw 607347, bug lp:1314700
addons/stock/stock.py