[FIX]: remove warning "WARNING⚠️Deprecated, use compute_all(...)['taxes'] instead of compute(...) to manage prices with tax included"

bzr revid: mga@tinyerp.com-20100915154904-supbzcdc15qgx0od
This commit is contained in:
Mantavya Gajjar 2010-09-15 21:19:04 +05:30
parent 4327141996
commit b621b0d86f
1 changed files with 1 additions and 1 deletions

View File

@ -1202,7 +1202,7 @@ class account_move_line(osv.osv):
tax_sign = 'tax_sign'
tmp_cnt = 0
for tax in tax_obj.compute(cr, uid, [tax_id], total, 1.00):
for tax in tax_obj.compute_all(cr, uid, [tax_id], total, 1.00).get('taxes'):
#create the base movement
if tmp_cnt == 0:
if tax[base_code]: