236
236
vals['order_line'].append((0, 0, to_write))
237
sale_line_obj.create(cr, uid, to_write, context=context)
237
if sale_obj._check_service(cr, uid, fo_id, vals, context=context):
238
sale_line_obj.create(cr, uid, to_write, context=context)
243
244
error_log += _("Line %s in the Excel file was added to the file of the lines with errors, it got elements outside the defined %s columns. Details: %s") % (line_num, template_col_count, e)
244
245
line_with_error.append(wiz_common_import.get_line_values(cr, uid, ids, row, cell_nb=False, error_list=error_list, line_num=line_num, context=context))