From f4e6eece8040f51788cc952107e593eb2e1469a0 Mon Sep 17 00:00:00 2001 From: ced <> Date: Fri, 26 Jan 2007 07:22:31 +0000 Subject: [PATCH] ACCOUNT: Fix tax_amount bzr revid: ced-b3cf093a86fa76cb7a5742b0984ed82927f4ab4f --- addons/account/account.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/account/account.py b/addons/account/account.py index 2f8a75f0c44..6b05f3e1966 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -667,7 +667,7 @@ class account_move(osv.osv): 'journal_id': move.journal_id.id, 'period_id': move.period_id.id, #'tax_code_id': False, - 'tax_amount': False, + #'tax_amount': False, 'state': 'draft' }, context, check=False) ok = False @@ -739,6 +739,7 @@ class account_tax_code(osv.osv): 'child_ids': fields.one2many('account.tax.code', 'parent_id', 'Childs Codes'), 'line_ids': fields.one2many('account.move.line', 'tax_code_id', 'Lines') } + _order = 'name' account_tax_code() class account_tax(osv.osv):