Master account sequence management pvy

Why removing the line with company_id? Those 3 lines can stay as they are:
if 'company_id' in vals:
            seq['company_id'] = vals['company_id']
return self.pool.get('ir.sequence').create(cr, uid, seq)

and you can remove those you added