289
292
for il in self.browse(cr, uid, ids):
290
293
if not il.line_number and il.invoice_id.sequence_id:
291
294
sequence = il.invoice_id.sequence_id
293
296
vals.update({'line_number': il_number})
294
297
return super(account_invoice_line, self).write(cr, uid, ids, vals, context)