ACCOUNT: Fix tax_amount
bzr revid: ced-b3cf093a86fa76cb7a5742b0984ed82927f4ab4f
This commit is contained in:
parent
f142f3ebe3
commit
f4e6eece80
|
@ -667,7 +667,7 @@ class account_move(osv.osv):
|
||||||
'journal_id': move.journal_id.id,
|
'journal_id': move.journal_id.id,
|
||||||
'period_id': move.period_id.id,
|
'period_id': move.period_id.id,
|
||||||
#'tax_code_id': False,
|
#'tax_code_id': False,
|
||||||
'tax_amount': False,
|
#'tax_amount': False,
|
||||||
'state': 'draft'
|
'state': 'draft'
|
||||||
}, context, check=False)
|
}, context, check=False)
|
||||||
ok = False
|
ok = False
|
||||||
|
@ -739,6 +739,7 @@ class account_tax_code(osv.osv):
|
||||||
'child_ids': fields.one2many('account.tax.code', 'parent_id', 'Childs Codes'),
|
'child_ids': fields.one2many('account.tax.code', 'parent_id', 'Childs Codes'),
|
||||||
'line_ids': fields.one2many('account.move.line', 'tax_code_id', 'Lines')
|
'line_ids': fields.one2many('account.move.line', 'tax_code_id', 'Lines')
|
||||||
}
|
}
|
||||||
|
_order = 'name'
|
||||||
account_tax_code()
|
account_tax_code()
|
||||||
|
|
||||||
class account_tax(osv.osv):
|
class account_tax(osv.osv):
|
||||||
|
|
Loading…
Reference in New Issue