From ccf0ce7c0f42f89f588df559a09e598ef3ce2d15 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Mon, 12 Aug 2013 08:08:32 +0200 Subject: [PATCH] [FIX] wrong class used for the Model --- account_compute_tax_amount/account_move_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_compute_tax_amount/account_move_line.py b/account_compute_tax_amount/account_move_line.py index 3d4ecbcfe..6266f9e7f 100644 --- a/account_compute_tax_amount/account_move_line.py +++ b/account_compute_tax_amount/account_move_line.py @@ -26,7 +26,7 @@ from openerp.osv import osv, orm, fields import openerp.addons.decimal_precision as dp -class account_move_line(orm.TransientModel): +class account_move_line(orm.Model): _inherit = "account.move.line" # We set the tax_amount invisible, because we recompute it in every case.