322
322
raise osv.except_osv(_('Warning'), _('Please insert a correction date from the entry date onwards.'))
324
324
wizard = self.browse(cr, uid, ids[0], context=context)
326
# UFTP-388: Check if the given period is valid: period open, or not close, if not just block the correction
325
334
aml_obj = self.pool.get('account.move.line')
327
336
old_line = wizard.move_line_id