[FIX]account_asset: fix problem when we validate the last depreciation line it was...
authorCedric Snauwaert <csn@openerp.com>
Thu, 15 Nov 2012 11:04:48 +0000 (12:04 +0100)
committerCedric Snauwaert <csn@openerp.com>
Thu, 15 Nov 2012 11:04:48 +0000 (12:04 +0100)
commit6fe34606ade43201f220d85886f5e8124f7d2121
treedcb1b0ba1dbbb3998e56e2d09931fecaa75cc431
parentc2667f13adadbe9f0cbb0f65c7283dd5b1a71dfa
parent5f8a80b6ed90853d100926054ec0ae46ef9b6901
[FIX]account_asset: fix problem when we validate the last depreciation line it was closing the asset without checking if all depreciation lines was validated

lp bug: https://launchpad.net/bugs/939390 fixed

bzr revid: csn@openerp.com-20121115110448-y0csyrbgpexam0kt