ACCOUNT: Fix tax_amount

bzr revid: ced-b3cf093a86fa76cb7a5742b0984ed82927f4ab4f
This commit is contained in:
ced 2007-01-26 07:22:31 +00:00
parent f142f3ebe3
commit f4e6eece80
1 changed files with 2 additions and 1 deletions

View File

@ -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):