[REF]
bzr revid: mra@mra-laptop-20101018084434-jrvqfwc000qz6yau
This commit is contained in:
parent
0c6848602b
commit
637d2d53b1
|
@ -639,7 +639,6 @@ class account_voucher(osv.osv):
|
|||
if not line.amount:
|
||||
continue
|
||||
amount = currency_pool.compute(cr, uid, inv.currency_id.id, company_currency, line.amount)
|
||||
|
||||
move_line = {
|
||||
'journal_id': inv.journal_id.id,
|
||||
'period_id': inv.period_id.id,
|
||||
|
@ -774,7 +773,7 @@ class account_voucher_line(osv.osv):
|
|||
'company_id': fields.related('voucher_id','company_id', relation='res.company', string='Company', store=True),
|
||||
}
|
||||
_defaults = {
|
||||
'name': lambda *a: ''
|
||||
'name': ''
|
||||
}
|
||||
|
||||
def onchange_move_line_id(self, cr, user, ids, move_line_id, context={}):
|
||||
|
|
Loading…
Reference in New Issue