[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:
parent
4327141996
commit
b621b0d86f
|
@ -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]:
|
||||
|
|
Loading…
Reference in New Issue