[FIX] An analytic journal is not mandatory on a financial journal
lp bug: https://launchpad.net/bugs/309344 fixed bzr revid: stephane@tinyerp.com-20081218143537-u4bl6w0p291q4t85
This commit is contained in:
parent
1c4534fa75
commit
6875763f60
|
@ -857,8 +857,8 @@ class account_move_line(osv.osv):
|
|||
'journal_id': journal.analytic_journal_id.id,
|
||||
'ref': vals['ref'],
|
||||
})]
|
||||
else:
|
||||
raise osv.except_osv(_('No analytic journal !'), _('Please set an analytic journal on this financial journal !'))
|
||||
#else:
|
||||
# raise osv.except_osv(_('No analytic journal !'), _('Please set an analytic journal on this financial journal !'))
|
||||
|
||||
#if not 'currency_id' in vals:
|
||||
# vals['currency_id'] = account.company_id.currency_id.id
|
||||
|
|
Loading…
Reference in New Issue