[FIX] account: performance improvement on analytic line creation
authorMartin Trigaux <mat@openerp.com>
Fri, 6 Dec 2013 10:46:59 +0000 (11:46 +0100)
committerMartin Trigaux <mat@openerp.com>
Fri, 6 Dec 2013 10:46:59 +0000 (11:46 +0100)
commit8be311d950c015f82c4d0cb66228f256c89de65b
tree6e4a186c75a5ea96a04cfd094ce22737a988dfaf
parent03e9e188c3b9724a6f63b76816c63664cf8cb8bd
[FIX] account: performance improvement on analytic line creation
 remove analytic lines (to avoid duplicates) only when create new one instead of each validation of the account move
don't create new analytic lines at move creation, will do it once the move is balanced (unbalanced move should not create analytic lines yet)

bzr revid: mat@openerp.com-20131206104659-vct8a5l9o4nmhwqs
addons/account/account.py
addons/account/account_move_line.py