[REF]
bzr revid: mra@mra-laptop-20100917094209-050mlfn3ku5utm0w
This commit is contained in:
parent
fbccb0d6d5
commit
17489eca38
|
@ -452,7 +452,7 @@ class account_invoice(osv.osv):
|
|||
_('Can not select currency that is not related to current company.\nPlease select accordingly !.'))
|
||||
return {}
|
||||
|
||||
def onchange_journal_id(self, cr, uid, ids, journal_id):
|
||||
def onchange_journal_id(self, cr, uid, ids, journal_id=False):
|
||||
if journal_id:
|
||||
journal = self.pool.get('account.journal').browse(cr, uid, journal_id)
|
||||
if journal.currency:
|
||||
|
|
Loading…
Reference in New Issue